Announcement

Collapse
No announcement yet.

AddFontResource from memory

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • AddFontResource from memory

    Is it possible ? I want to add *.fnt only and need a solution for all OSes (unlike AddFontMemResourceEx)

    ------------------
    E-MAIL: [email protected]

  • #2
    Semen,

    hard to do. Guess the easiest way is to use the
    AddFontResource / RemoveFontResource APIs.

    wine's font.c shows how to load a font and calc
    raster, kerning, glyhp ....

    If protecting your font is a must you should use
    Bitmaps ( many game programmers do it this way ).

    Ralph

    ------------------

    Comment

    Working...
    X