Re: commit: Re: RTF importer - Asian font names (PATCHES)

From: Roland Kay <roland.kay_at_ox.compsoc.net>
Date: Sun Jun 12 2005 - 07:05:11 CEST

> This will break that fix. Not that I actually agree, but in fact I
> didn't think about the problem.

Hopefully, it won't. I've moved the fix until later in the code, after
the conversion to UTF8, so that I don't have to do so many string
operations on a ByteBuf:

+#ifndef XP_TARGET_COCOA
+ /*work around "helvetica" font name -replace it with "Helvetic"*/
+ if (strcmp(fn[0], "helvetica") == 0)
+ {
+ fn[0][0] = 'H';
+ }
+#endif /* ! XP_TARGET_COCOA */

Best,

R.
Received on Sun Jun 12 07:04:10 2005

This archive was generated by hypermail 2.1.8 : Sun Jun 12 2005 - 07:04:10 CEST