"ui-backend" variable can't be used to choose text backend

db4
Joe Groff 2009-05-02 21:52:18 -05:00
parent aa142a1b52
commit 644c42d4e3
1 changed files with 5 additions and 7 deletions

View File

@ -75,10 +75,8 @@ M: array draw-text
USING: vocabs.loader namespaces system combinators ;
"ui-backend" get [
{
{ [ os macosx? ] [ "core-text" ] }
{ [ os windows? ] [ "uniscribe" ] }
{ [ os unix? ] [ "pango" ] }
} cond
] unless* "ui.text." prepend require
} cond "ui.text." prepend require