Creating a ZWSP with width?

Post general font related questions (e.g. how to install, convert and use fonts) and requests (looking for fonts, designers etc.) here.

Creating a ZWSP with width?

Postby BCFonter » Sat Jul 11, 2009 9:20 am

Hi,
I have a need to create a zero-width space with width in a font (so that the ZWSP will be visible). I created a glyph at unicode $200B for the ZWSP but it still doesn't show when typed - it seems that text rendering software (eg Word, FontCreator) doesn't check for a glyph for the ZWSP, just skips over it instead.
I know that in Word I can show formatting marks and it will display a double-square for the ZWSP, but then I have to see the rest of the formatting marks too. But what I want is to see only the ZWSP.

Does anyone have any ideas about how I might create a visible ZWSP? Am I right that it can't be done by just creating a glyph in the ZWSP position in a font?

Many thanks
BC
BCFonter
 
Posts: 1
Joined: Sat Jul 11, 2009 8:56 am

Re: Creating a ZWSP with width?

Postby Bhikkhu Pesala » Sun Jul 12, 2009 8:59 am

ZeroWidthSpace.png
ZeroWidthSpace.png (5.34 KiB) Viewed 206 times
Sorry for the late reply. I only just noticed your post.

As you can see, Font Creator has no problem displaying a glyph in a zero-width space in the Preview Toolbar, but it doesn't display it in the Font Test window. OpenOffice does not display the glyph either, although the zero width space is shown with field shadings on.

I suspect it may be a limitation of the font rendering engine in Windows. It apparently assumes that zero width spaces are empty. It does work if you use a hair space instead — $200A
My FontsReviews: FontCreatorScanahand
Bhikkhu Pesala
Top Typographer
Top Typographer
 
Posts: 2377
Joined: Tue Oct 29, 2002 5:28 am
Location: Seven Kings, London UK


Return to General Font Discussions

Who is online

Users browsing this forum: No registered users and 1 guest