Pages: 1
Author Topic: Font Add and Runtime Fonts  (32,191 Views)
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Posted on: September 13, 2013, 01:54:23 AM
Ya font_add crashes, most likely cuz it never packs or renders glyphs. Canthelp was discussing this before with his python IDE rasterizing a font to hand to ENIGMA like the plugin does. ENIGMA needs to be able to render fonts itself.

font_add_sprite_ext(spr, string_map, prop, sep);

Also needs some thought because it takes a string that maps the characters to the glyphs.
Offline (Unknown gender) ssss

Member
Joined: Jun 2013
Posts: 24
View profile
Reply #1 Posted on: September 15, 2013, 09:33:13 AM
It never creates the texture of glyphs. Who wants to learn to use libttf?
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #2 Posted on: September 15, 2013, 09:34:25 AM
I figured you'd say that, it looks like that function is grounds for us to add the dependency, though DirectX can raster the fonts its self.
Offline (Unknown gender) ssss

Member
Joined: Jun 2013
Posts: 24
View profile
Reply #3 Posted on: September 15, 2013, 09:44:38 AM
Can ogl?
Offline (Unknown gender) Goombert

Developer
Joined: Jan 2013
Posts: 2,991
View profile
Reply #4 Posted on: September 15, 2013, 09:45:42 AM
Unlikely :\
Pages: 1