Hello, and thanks for visiting my topic
What would I type if I wanted to load the font:SmallChars from the SCAR root file using any text loading procedure? All help appreciated
Hello, and thanks for visiting my topic
What would I type if I wanted to load the font:SmallChars from the SCAR root file using any text loading procedure? All help appreciated
Current Project: Catching up. XD. Potentially back for the summer, depending on how things go.
SCAR Code:Loaded all chars. (NPCChars, TradeChars, SmallChars, StatChars, UpChars)
29.04.2007
Scar Divi SHOULD load the fonts itself.
This is what I found:
FearlesssssCode:function LoadChars2(path: string): Integer; Load font from folder in memory. Example: UpChars:= LoadChars2(AppPath + 'CharsRS22\'); (If you are planning on creating your own character set, make sure bitmap images are named according to their ASCII codes.) function LoadCharsFromFont2(fontname: string; fontsize: Integer; fontbold, fontitalic, fontunderline, fontstrike: Boolean): Integer; Load characters from Windows font in memory. Example: c := LoadCharsFromFont2('Courier New', 10, False, False, False, False); procedure FreeChars2(i: Integer); Unload font from memory.
There are currently 1 users browsing this thread. (0 members and 1 guests)