When I have a rich text (with the font set to Heiti SC Light), which contains 
these three lines:

L'œuf de volaille = 鸡卵  Note: LATIN SMALL LIGATURE OE
traditional: "盧" simplified: "卢" Note: CJK COMPATIBILITY IDEOGRAPH-F933
traditional: "雞" simplified: "鸡"

and I select all and copy it into another rich text, I get:

L'oeuf de volaille = 鸡卵 Note: LATIN SMALL LIGATURE OE
traditional: "卢" simplified: "卢" Note: CJK COMPATIBILITY IDEOGRAPH-F933
traditional: "雞" simplified: "鸡"

In the second rich text the start of the egg has changed to "oe" (which is just 
NOT correct French) and the difference between traditional and simplified for 
"black" is no longer discernible (while this difference is still visible for 
"chicken").

Note that all characters are part of Heiti SC Light; no font substitution has 
taken place nor is necessary.

Is this correct behaviour, or should one be able to trust "copy" to put the 
copied text unmodified to the rich pasteboards?

Workaround: copy from rich text to plain, then again from plain to other rich 
text - then copy the font from first rich to second rich text, then copy the 
paragraph style as well. 
Rather tedious, but this way the data does not get changed behind my back.

Bug or feature?

Gerriet.


P.S. 

This is not only a problem of Heiti, nor of Chinese fonts. 
Arial Unicode MS changes LF, LINE SEPARATOR and PARAGRAPH SEPARATOR all to CR 
and does ignore OBJECT REPLACEMENT CHARACTER and REPLACEMENT CHARACTER.







_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to