# HG changeset patch # User John Tsiombikas # Date 1402198830 -10800 # Node ID 4224452b9c867355d405b211a50b321b1d8a82f1 # Parent de6f37146601daf44f5996558c41c354681b1c31 drx_open_font_glyphmap now mimics dtx_open_font's behaviour in setting dtx_font automatically if it's null. diff -r de6f37146601 -r 4224452b9c86 src/font.c --- a/src/font.c Sat Jun 07 13:37:54 2014 +0300 +++ b/src/font.c Sun Jun 08 06:40:30 2014 +0300 @@ -120,6 +120,10 @@ } dtx_add_glyphmap(fnt, gmap); + + if(!dtx_font) { + dtx_use_font(fnt, gmap->ptsize); + } } return fnt; }