Text Origin Decide-icidal
Text Origin Decide-icidal
Should the text origin continue to be at the baseline, or should be it be moved to top-left?
Re: Text Origin Decide-icidal
Hm thats a hard one, I voted top left for consistency with how the images are now aligned
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Text Origin Decide-icidal
I voted top-left as well. The point is, most of the time you want to align the text to something else. Images, rectangles or the top-left of the screen are common things to align text with. Currently, we have to use all sorts of extra calculations, just to figure out where to draw the text.
Help us help you: attach a .love.
- TechnoCat
- Inner party member
- Posts: 1612
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: Text Origin Decide-icidal
The only reason I could think of to choose one over the other is consistency: Top-left.
Re: Text Origin Decide-icidal
I say topleft since that's the corner of the screen that is (0,0). To have it y pixels from the top when drawing text and not be top aligned seems silly to me (I have to type draw text at 0,fontsize to draw it in the topleft corner, which is counterintuitive).
Re: Text Origin Decide-icidal
In addition to voting Top-Left, I'd also like to add a request that "font.getHeight()" return the true font height, as it currently does not properly (this may be an artifact of the current baseline based calculation being off, so hopefully it goes away once we transition to top-left based).
Re: Text Origin Decide-icidal
Well, this seems pretty clear.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: Text Origin Decide-icidal
The thing is Baseline is useless for anyone that uses image based fonts as they don't have a baseline.
I use Image fonts because they can look really nice and I don't have to depend on the OS having the font installed and its differing styles of antialiasing.
I use Image fonts because they can look really nice and I don't have to depend on the OS having the font installed and its differing styles of antialiasing.
Re: Text Origin Decide-icidal
Top left, like images! I don't like mixed things...
Who is online
Users browsing this forum: Ahrefs [Bot], casual_dodo and 4 guests