Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing the default-hyphenator in the cocoa-textsystem



Thanks a lot :)

That was exactly what I needed. Perhaps a pointer in the textsystem- overview would prevent other developers from running into the same problem.

On 01.06.2005, at 00:06, Aki Inoue wrote:

Jan,

Starting from Panther, the bottleneck for determining hyphenation position is -[NSAttributedString lineBreakByHyphenatingBeforeIndex:withinRange].

You can override the method to implement custom hyphenation behavior.

Aki


Hi,

I'm trying to replace the hyphenator in the textsystem but I can't find methods or classes to overwrite/implement to do it. I have to do it as the default-hyphenator works very bad for german and so a replacement is needed.

Hope someone can point me in the correct direction ;)

Greetings,
Jan Neumüller _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden




Attachment: PGP.sig
Description: This is a digitally signed message part

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden

References: 
 >Replacing the default-hyphenator in the cocoa-textsystem (From: Jan Neumüller <email@hidden>)
 >Re: Replacing the default-hyphenator in the cocoa-textsystem (From: Aki Inoue <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.