Hi,
Sorry for being over a week late to this thread, but I'm the guy who was trying
to get hidden text to work before, in the thread mentioned earlier (Martin
kindly pointed me in this direction). I'm not sure why the test code archives
on my site weren't decompressing, but they probably just
On Jun 5, 2009, at 5:12 PM, Douglas Davidson wrote:
As I understand it, what you want to do is not to affect layout at
all, but simply to cause certain glyphs not to be displayed. In
general this can be problematic, because without knowledge of the
font involved one can't necessarily g
Thank you very much, I think my situation makes some of the potential
problems you mentioned probably not too problematic. None of the
markings I want to suppress are precomposed, I believe. Also, the text
shouldn't have any other decorations such as you mentioned and the
text won't be us
On Jun 5, 2009, at 6:45 PM, Martin Wierschin wrote:
The link for source code still seems to be working.
You know, that's the post I found a few months ago. Something is
wrong with the linked file, of three compression program, one was
able to decompress it but the result contained no sour
The link for source code still seems to be working.
You know, that's the post I found a few months ago. Something is
wrong with the linked file, of three compression program, one was
able to decompress it but the result contained no source code.
Hrm, I can't decompress it either. You might
On Jun 5, 2009, at 8:36 AM, Philip White wrote:
Is there any easy way, maybe using NSGlyphInfoAttributeName, to
have a glyph not be drawn at all? Like maybe replacing it with some
kind of empty glyph? You can't seem to get glyphs for invisible
characters, so I don't really know how to go
On Jun 5, 2009, at 4:58 PM, Martin Wierschin wrote:
Is there any easy way, maybe using NSGlyphInfoAttributeName, to
have a glyph not be drawn at all? Like maybe replacing it with some
kind of empty glyph?
You might read this post (and Aki's followup):
http://www.cocoabuilder.com/a
Is there any easy way, maybe using NSGlyphInfoAttributeName, to
have a glyph not be drawn at all? Like maybe replacing it with some
kind of empty glyph?
You might read this post (and Aki's followup):
http://www.cocoabuilder.com/archive/message/cocoa/2008/3/10/200928
The link for sou
On Jun 5, 2009, at 11:06 AM, Philip White wrote:
Hi,
Well the text view is read-only for the user. I regret saying
"diacriticals". I actually want to hide niqqudot and tashkil in
Hebrew and Arabic. As far as I know, these are all separate
characters.
If they are read-only, why not j
That is certainly possible, but it doesn't seem like the elegant
solution to me. I want the user to be able to turn these on and off at
will. I can keep a backup of the original text and work off of that,
but when texts start to be get long that will be a lot copying and
deleting of charact
If it's read only for the user, why don't you just remove those
characters from the text storage? NSTextStorage is a subclass of
NSMutableAttributedString.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r
Hi,
Well the text view is read-only for the user. I regret saying
"diacriticals". I actually want to hide niqqudot and tashkil in Hebrew
and Arabic. As far as I know, these are all separate characters.
On Jun 5, 2009, at 9:56 AM, Kyle Sluder wrote:
On Fri, Jun 5, 2009 at 8:36 AM, Philip
On Fri, Jun 5, 2009 at 8:36 AM, Philip White wrote:
> I should point out that I want to hide characters in a text view that do
> not cause any advancement: diacriticals and such.
Not sure what you mean here. That would make it very hard for someone
to enter diacritics, wouldn't it? And even so,
Hello,
Is there any easy way, maybe using NSGlyphInfoAttributeName, to
have a glyph not be drawn at all? Like maybe replacing it with some
kind of empty glyph? You can't seem to get glyphs for invisible
characters, so I don't really know how to go about this.
I did a pretty extensive sea
help
anyway.
Many thanks and all the best,
Keith
- Original Message
From: Aki Inoue <[EMAIL PROTECTED]>
To: Keith Blount <[EMAIL PROTECTED]>
Cc: cocoa-dev@lists.apple.com
Sent: Monday, March 10, 2008 11:32:23 PM
Subject: Re: Glyph Generator & hiding glyphs -> _NSBlockNu
sage
From: Aki Inoue <[EMAIL PROTECTED]>
To: Keith Blount <[EMAIL PROTECTED]>
Cc: cocoa-dev@lists.apple.com
Sent: Monday, March 10, 2008 6:14:05 PM
Subject: Re: Glyph Generator & hiding glyphs ->
_NSBlockNumberForIndex() errors
Keith,
I was consulted about the sample from DTS
o have background
layout enabled.
Many thanks for taking an interest in this.
All the best,
Keith
- Original Message
From: Aki Inoue <[EMAIL PROTECTED]>
To: Keith Blount <[EMAIL PROTECTED]>
Cc: cocoa-dev@lists.apple.com
Sent: Monday, March 10, 2008 6:14:05 PM
Subject
Keith,
I was consulted about the sample from DTS and didn't find any obvious
problem with it.
It would be great if you could provide further detail (for example, bt
of the exception raise).
Thanks,
Aki
On 2008/03/08, at 10:41, Keith Blount wrote:
Just to add a little info to my previou
Just to add a little info to my previous message, which was a little
misleading:a
My custom glyph generator replaces each glyph that is supposed to be hidden
with NSNullGlyph (it doesn't just insert one NSNullGlyph for the lot of them),
so I would expect the one-to-one mapping on this first pas
Hi,
I have a custom glyph generator (NSGlyphGenerator subclass) that is used to
hide glyphs for text with certain attributes. It does this by inserting a
single NSNullGlyph for a range of glyphs representing text with these hidden
attributes. (This is basically a hidden text toggle.) This all w
20 matches
Mail list logo