next up previous contents index
Next: 1.6.6 What about MFC? Up: 1.6 Functionality Previous: 1.6.4 Printing, Printer Fonts,

1.6.5 Window fonts, Font API's, truetype, etc.

 Window Font API, CreateFont..., GetTextMetrics..., EnumFont.... These API's are supported just as they are in Windows. We take the font request and use a font search algorithm that utilizes font aliasing, height and character attributes, bold, italic..., and generates a platform dependent font request. On X11, this turns into load/query font calls, while on a Mac, turns into TrueType font requests. The additional TrueType specific API's, getabcchar, GetOutline...are only supported if a TrueType font server is running, and you have the same ability to paint the characters as you have with Windows.

The Font Metric requests are likewise handled in the same fashion, with TWIN returning the appropriate values for a given request, so that any drawing dependent on those measurements will be correct.



Send corrections/suggestions via e-mail to: Rob Penrose