diff options
| author | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-06-16 15:14:42 +0000 |
|---|---|---|
| committer | Michael R Sweet <michael.r.sweet@gmail.com> | 1999-06-16 15:14:42 +0000 |
| commit | 971dc6583ba2fdffc3e28193d3115479e9cfcde5 (patch) | |
| tree | efea77e11214e195e3a232668f5203d3b9b43739 /src/fl_draw.cxx | |
| parent | fbc03d29f1b7b96ce2fe2315f5ed3f048bb2486d (diff) | |
Was escaping characters from 0x80 to 0x9f, but these are used by the
PostScript and Windows ISOLatin1 encodings (and the X11 fonts which use
them...) Commented the code out for now...
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.0@609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/fl_draw.cxx')
| -rw-r--r-- | src/fl_draw.cxx | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/src/fl_draw.cxx b/src/fl_draw.cxx index d77ff4442..2bb27e15f 100644 --- a/src/fl_draw.cxx +++ b/src/fl_draw.cxx @@ -1,5 +1,5 @@ // -// "$Id: fl_draw.cxx,v 1.6 1999/01/07 19:17:38 mike Exp $" +// "$Id: fl_draw.cxx,v 1.6.2.1 1999/06/16 15:14:42 mike Exp $" // // Label drawing code for the Fast Light Tool Kit (FLTK). // @@ -90,11 +90,18 @@ expand(const char* from, char* buf, double maxw, int& n, double &width, int wrap *o++ = '^'; *o++ = c ^ 0x40; + /* + * mike@easysw.com - The following escaping code causes problems when + * using the PostScript ISOLatin1 and WinANSI encodings, because these + * map to I18N characters... + */ +#if 0 } else if (c >= 128 && c < 0xA0) { // \nnn *o++ = '\\'; *o++ = (c>>6)+'0'; *o++ = ((c>>3)&7)+'0'; *o++ = (c&7)+'0'; +#endif /* 0 */ } else if (c == 0xA0) { // non-breaking space *o++ = ' '; @@ -193,5 +200,5 @@ void fl_measure(const char* str, int& w, int& h) { } // -// End of "$Id: fl_draw.cxx,v 1.6 1999/01/07 19:17:38 mike Exp $". +// End of "$Id: fl_draw.cxx,v 1.6.2.1 1999/06/16 15:14:42 mike Exp $". // |
