Subject: RE: Alignment Issues
From: Thomas Fletcher (thomasf@qnx.com)
Date: Sat Feb 19 2000 - 12:59:49 CST
On Sat, 19 Feb 2000, Bruce Pearson wrote:
> Thomas,
>
> Is there a problem that the operating system does not let you create fonts
> of large sizes?
No in this case it was user error ... but I'm just thinking
out loud about what might happen _if_ font metrics weren't
available for larger font sizes (for example if only a small
set of non-scaleable font sizes were provided with the system).
> This is required so that WYSIWYG layout is correct.
... and to get around not using floating point to do the layout
if I remember correctly. This was the problem with BeOS where
all the font metrics are measured in floating point.
> The layout units in DOTS PER INCH is defined in ut_units.h as
> #define UT_LAYOUT_UNITS 1440
>
> If you want to get something working try changing from 1440 to 300. Don't
> check this back into the tree as this will stuff up WYSIWYG on other
> platforms.
Yeah I know.
> Let me know how you go. We may have to work out another way of getting
> accurate character widths on all platforms.
I've got it working now ... just more thinking out loud in this case.
Thomas
This archive was generated by hypermail 2b25 : Sat Feb 19 2000 - 12:59:56 CST