Support and General Use > Theming and Appearance Customization
How with 12-pt font in 11-pixel viewport to chop top not bottom?
(1/1)
toehser:
So, fonts tend to build the space between lines into the font... so the first row of the font is BLANK... Often fine...
NOW, say, on a Clip+, when there are 2 pixel rows BETWEEN the yellow and blue areas...
The TOP row of text on the BLUE area... ALREADY has 2 rows of pixel space above it...
This would work fine if there was a legal good way to say "fill from the bottom" rather than "from the top".
A view option like Invert or R-To-L?
I don't really want to create a whole new font for the top line...
It already works fine, say, to put numbers at the bottom, since numbers don't have descenders...
If I have (for example...):
%Fl(3,12-Nimbus.fnt)
%V(0,15,128,11,3)
%s%ac%?it<%it|%fn>
I'm writing a 12 point font into an 11 point area...
I want to be able to control if it _cuts off the top_ or _cuts off the bottom_.
For a top-row of any screen, I want to usually cut off the top, the blank space meant to space out lines.
For a row with only numbers, I want to usually cut off the bottom, since they don't have descenders.
BETTER might be:
- Never put the inter-line spacing in the font glyphs! Let us space the viewports by a pixel for that !!! Yes!
- Have a separate font for numbers! Numbers don't EVER have the tails of gjpqy hanging down low...
But, for now, I'm just trying to find a way without making a bunch of my own fonts...
I assume that z-order or off-screen canvas isn't going to happen?
I could get the same approach by starting at -1 y position, or in the middle by being able to specify the z-order...
Navigation
[0] Message Index
Go to full version