From: Andrew R. <and...@us...> - 2006-06-06 00:47:22
|
Update of /cvsroot/plplot/plplot/drivers In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14224/drivers Modified Files: psttf.cc Log Message: Alter font specification to add some "preferred" font names in explicitly in an attempt to solve problem with inconsistent font selection between different language bindings on some systems. Index: psttf.cc =================================================================== RCS file: /cvsroot/plplot/plplot/drivers/psttf.cc,v retrieving revision 1.10 retrieving revision 1.11 diff -u -d -r1.10 -r1.11 --- psttf.cc 2 Jun 2006 12:13:29 -0000 1.10 +++ psttf.cc 5 Jun 2006 11:32:37 -0000 1.11 @@ -82,11 +82,11 @@ #define N_Pango_Lookup 5 const char * DefaultFamilyLookup[N_Pango_Lookup] = { - "sans", - "serif", - "monospace", - "sans,serif", - "sans,serif" + "Arial,FreeSans,Bitstream-Vera-Sans,sans", + "Times-Roman,FreeSerif,Bitstream-Vera-Serif,serif", + "Courier,FreeMono,monospace", + "Arial,FreeSans,Bitstream-Vera-Sans,sans,serif", + "Arial,FreeSans,Bitstream-Vera-Sans,sans,serif" }; const char * EnvFamilyLookup[N_Pango_Lookup] = { |