Hylafax Mailing List Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
bugfix: national characters in tagline
Hi!
HylaFAX doesn't print national characters in the
tagline of facsimiles. The following patch fix this:
--- PCFFont.c++.orig Sun Jun 13 09:41:04 1999
+++ PCFFont.c++ Wed Mar 22 17:07:14 2000
@@ -509,7 +509,7 @@
if (!isBigEndian) // XXX
TIFFSwabArrayOfShort((u_short*) raster, h*rowwords);
for (const char* cp = text; *cp; cp++) {
- u_int g = *cp;
+ u_int g = (u_char)*cp;
charInfo* ci = (firstCol <= g && g <= lastCol) ?
encoding[g - firstCol] : cdef;
if (!ci)
--
Ronald Appelfelder
ronalda@intraregio.net
PS: I know, my english is bad.