DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2701
Version: 1.3-current


Attached file "xft_ttf_modifiers_patch_corrected.diff"...


Link: http://www.fltk.org/str.php?L2701
Version: 1.3-current
Index: src/fl_set_fonts_xft.cxx
===================================================================
--- src/fl_set_fonts_xft.cxx    (Revision 8989)
+++ src/fl_set_fonts_xft.cxx    (Arbeitskopie)
@@ -122,7 +122,7 @@
     while ((style) && (style < last))
     {
       int type;
-      while ((*style == '=') || (*style == ' ') || (*style == '\t'))
+      while ((*style == '=') || (*style == ' ') || (*style == '\t') || (*style 
== ',') )
       {
         style++; // Start of Style string
         if ((style >= last) || (*style == 0)) continue;
@@ -165,7 +165,7 @@
         goto NEXT_STYLE;
       } // switch end
 NEXT_STYLE:
-      while ((*style != ' ') && (*style != '\t'))
+      while ((*style != ' ') && (*style != '\t') && (*style != ','))
       {
         style++;
         if ((style >= last) || (*style == 0)) goto STYLE_DONE;
@@ -278,7 +278,7 @@
       // Truncate the name after the (english) modifiers description
       if (stop)
       {
-        *stop = 0; // Terminate the string at the first comma, if there is one
+//        *stop = 0; // Terminate the string at the first comma, if there is 
one
       }
 
       // Copy the font description into our list
_______________________________________________
fltk-bugs mailing list
fltk-bugs@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-bugs

Reply via email to