Tiger's handling of encoding in RTF files
Tiger's handling of encoding in RTF files
- Subject: Tiger's handling of encoding in RTF files
- From: Izidor Jerebic <email@hidden>
- Date: Tue, 28 Mar 2006 12:36:11 +0200
Hello!
A customer has problems opening RTF file produced by OpenStep
application (yes, there are still people out there using it - it was/
is really good stuff) on Mac OS X 10.4.5 Tiger. Contents encoding is
somehow borked. Similar files open without problems on Panther.
I have traced the bug to the minimal RTF file which exhibits the bug.
The contents of the minimal file is:
{\rtf0\nextcset {\fonttbl{\f19755\fnil Helvetica;}}
\f19755 A ± B}
The plus/minus character between A and B should appear as long dash,
but it doesn't - it shows as plus/minus character. I have tried
opening it on Panther (never trust a customer report) and everything
works as it should - long dash is shown.
A surprising feature is that if one removes the \f19755 directive
(just delete the sequence \f19755), the long dash is shown as it
should be.
So is this a bug or is there something that may be wrong with fonts?
Or something else? Any hidden defaults that one could set?
I fear that the customer may also encounter other problems elsewhere
if this RTF encoding stuff in Tiger doesn't work...
Any ideas or even solutions are welcome,
izidor
P.S. In case any apple engineer reads this, there is a rdar://4493057
bug filed on this...
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden