• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
RTF incompatibilites Windows/NSAttributesString RTFFromRange:...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RTF incompatibilites Windows/NSAttributesString RTFFromRange:...


  • Subject: RTF incompatibilites Windows/NSAttributesString RTFFromRange:...
  • From: Fredrik Olsson <email@hidden>
  • Date: Wed, 28 Jun 2006 14:49:54 +0200

I have trouble saving conforming RTF-documents from a NSAttributedString.

Windows XP's Wordpad refuses the fonts, and even more stangely refuses to change the fonts in the loaded document. Replacing all fonts with a scaled bitmap system font. I use standrd fonts such as Times New Roman and Comix Sans MS that are available, so it is not that.

Further more bullet lists are ignored when opening documents saved from Wordpad, and then converted to a NSAttributesString.


Investigating the rtf files as plain text reveals that the header and list definitions differ quite allot. Is there something I have missed on Cocoa's part when it comes to readon and writing more Win compatible files?
Cocoa is more forgiving only failing with reading lists, so writing more compatible files is more of a priority.



// Fredrik Olsson

ps. I attach two files, one win and one mac, with the same content, but much different formatting on either platform.

Attachment: test_winrtf.rtf
Description: RTF file

Attachment: test_macrtf.rtf
Description: RTF file

 _______________________________________________
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

  • Follow-Ups:
    • Re: RTF incompatibilites Windows/NSAttributesString RTFFromRange:...
      • From: Fredrik Olsson <email@hidden>
  • Prev by Date: Re: Store file properties alongside coredata?
  • Next by Date: Re: Store file properties alongside coredata?
  • Previous by thread: Re: Login Item
  • Next by thread: Re: RTF incompatibilites Windows/NSAttributesString RTFFromRange:...
  • Index(es):
    • Date
    • Thread