Pages: 1
  Print  
Author Topic: Font Add and Runtime Fonts  (Read 4740 times)
Offline (Male) Goombert
Posted on: September 12, 2013, 08:54:23 pm

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
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.

Code: [Select]
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.
« Last Edit: September 12, 2013, 08:59:58 pm by Robert B Colton » Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) ssss
Reply #1 Posted on: September 15, 2013, 04:33:13 am
Member
Joined: Jun 2013
Posts: 24

View Profile
It never creates the texture of glyphs. Who wants to learn to use libttf?
Logged
Offline (Male) Goombert
Reply #2 Posted on: September 15, 2013, 04:34:25 am

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
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.
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Offline (Unknown gender) ssss
Reply #3 Posted on: September 15, 2013, 04:44:38 am
Member
Joined: Jun 2013
Posts: 24

View Profile
Can ogl?
Logged
Offline (Male) Goombert
Reply #4 Posted on: September 15, 2013, 04:45:42 am

Developer
Location: Cappuccino, CA
Joined: Jan 2013
Posts: 2993

View Profile
Unlikely :\
Logged
I think it was Leonardo da Vinci who once said something along the lines of "If you build the robots, they will make games." or something to that effect.

Pages: 1
  Print