PDA

View Full Version : Fonts Ė How to make a uniform appearance on Mac and Windows.



itzike
01-08-2003, 11:41 PM
Hi.

Iím working on a project that should have a text on its GUI and some text boxes. This is a cross platform project that has to compile and run on Mac-OS-X and PC for now, Linux/Unix in the future.
It is very important that the GUI and the text on it will have a uniform appearance on Mac and PC.
I made a simple text App that display different fonts using the wgl API for Win and agl API for Mac and I noticed that there is a slightly different in the spaces between the characters, and in some fonts even a slightly different in its design.

The fonts I checked:

O.K.
Arial
Verdana
Georgia
Impact

Space different
Times
Courier

slightly different in design
Times
Courier




The same fonts have a uniform appearance using Word-office App or Adobe-Photoshop. Do you know about any simple way to make it uniform appearance in a code? Do you have any links, reference or idea how can I make it uniform in both platforms?
I know about Free-Type, but they support as far as I know, only Win and Linux/Unix. Also itís very big library, and its have many features that I donít need.

Thanks for any help.
Itzik


[This message has been edited by itzike (edited 01-09-2003).]

kansler
01-09-2003, 01:42 AM
Use bitmap fonts instead of real fonts. Check:
http://nehe.gamedev.net/tutorials/lesson.asp?l=13
http://www.lmnopc.com/bitmapfontbuilder/