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



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

_______________________________________________ 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>)



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.