Fix ui.text.freetype to work across image save/reload

db4
Slava Pestov 2009-02-09 22:51:53 -06:00
parent a465da365f
commit 08c0960cbf
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ MEMO: (open-font) ( font -- open-font )
GENERIC: open-font ( font -- open-font )
M: font open-font
clone f >>background f >>foreground (open-font) ;
freetype drop clone f >>background f >>foreground (open-font) ;
: load-glyph ( font char -- glyph )
[ handle>> dup ] dip 0 FT_Load_Char