I didn't test gnome-print yet, but I believe this patch should allow it to
work correctly on big endian boxes (it seems no character will be printed on
big-endian box). This patch is to week-old snapshot, so this problem
may be already fixed.
Best regards,
-Vlad
--- xap_UnixGnomePrintGraphics.cpp-was Wed Nov 29 18:24:07 2000
+++ xap_UnixGnomePrintGraphics.cpp Wed Nov 29 18:25:05 2000
@@ -235,9 +235,10 @@
if (c >= 256)
return 0;
+ unsigned char uc = c;
/* Use get glyph width intead ... Chema */
size = (int) ( _scale_factor_get_inverse () *
- gnome_font_get_width_string_n (m_pCurrentFont, (const char
*)&c, 1) );
+ gnome_font_get_width_string_n (m_pCurrentFont, (const char
+*)&uc, 1) );
return size;
}