I am creating a font dialog for a Windows application I am developing.
The problem is, the available font sizes for a specific font is different on Revolution than in Windows.
Example: The available font sizes for MS Serif in a Windows font dialog is:
6,7,8,10,12,14,18,24
Using the fontSizes function in Rev, MS Serif returns:
8,9,10,13,16,17,22,29
Is there anything I can do to correct this?
Thanks,
Tony
Font Dialog
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi Tony,
Where do you see that Windows font font dialog?
Although it is theoretically possible that Rev returns incorrect font sizes, I'd say Windows is at fault here, rather than Revolution.
Best,
Mark
Where do you see that Windows font font dialog?
Although it is theoretically possible that Rev returns incorrect font sizes, I'd say Windows is at fault here, rather than Revolution.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
Hi Tony,
I understand which dialog you mean. You'd have to open the font in a font editor, see which sizes are available, and then compare that with the results given by Windows' font dialog and Rev's fontSizes function. I really couldn't tell whether Windows or Revolution is showing a bug here, or whether perhaps the font is corrupt.
Best,
Mark
I understand which dialog you mean. You'd have to open the font in a font editor, see which sizes are available, and then compare that with the results given by Windows' font dialog and Rev's fontSizes function. I really couldn't tell whether Windows or Revolution is showing a bug here, or whether perhaps the font is corrupt.
Best,
Mark
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode