plex icon indicating copy to clipboard operation
plex copied to clipboard

Add zero-width space

Open AlsoScratch opened this issue 5 years ago • 9 comments

Sorry forgot to mention in #317 but U+200B (zero-width space) is useful for strings like "Yes/No/Maybe" if you want each word to separate into new lines.

AlsoScratch avatar Jun 09 '20 13:06 AlsoScratch

The fact that the glyph in question does not exist in the font does not by definition mean that it will not be rendered. There are environments that use fallback fonts in this case. Applications such as Adobe InDesign are able to synthesize these kinds of spaces by itself.

BoldMonday avatar Jun 09 '20 14:06 BoldMonday

Without use of fallback, how does it appear in plex? As tofu?

johnnyshields avatar Jun 10 '20 07:06 johnnyshields

Probably. Without fallback any glyph that is non-existent should be displayed with the .notdef character (AKA “tofu”).

BoldMonday avatar Jun 10 '20 07:06 BoldMonday

Would be worthwhile to properly handle all the ZWJ / ZWNJ characters maybe as part of the Math Symbols project?

johnnyshields avatar Jun 10 '20 07:06 johnnyshields

Would be worthwhile to properly handle all the ZWJ / ZWNJ characters maybe as part of the Math Symbols project?

That could be a consideration.

FWIW – ZWJ and ZWNJ are currently included in Plex Sans Thai (Looped) and Plex Sans Devanagari.

BoldMonday avatar Jun 10 '20 07:06 BoldMonday

Probably. Without fallback any glyph that is non-existent should be displayed with the .notdef character (AKA “tofu”).

Well, this could be an actual problem.

AlsoScratch avatar Jun 10 '20 14:06 AlsoScratch

Well, this could be an actual problem.

Perhaps. But when I use a zero width space with Plex in a macOS application such as TextEdit then I see no problem.

BoldMonday avatar Jun 10 '20 15:06 BoldMonday

Perhaps. But when I use a zero width space with Plex in a macOS application such as TextEdit then I see no problem.

I can't trust every application to use a fallback font... but those that do shouldn't matter, probably.

AlsoScratch avatar Jun 11 '20 10:06 AlsoScratch

Could be consideration for Plex Math but tabled for now.

mjabbink avatar Sep 29 '20 08:09 mjabbink

Hey there! v6.1.0 was just released that references this issue.

Comment here or join the release discussion to provide feedback or voice concerns. Thanks!

tay1orjones avatar Aug 16 '22 20:08 tay1orjones

Hey there! v6.3.0 was just released that references this issue.

Comment here or join the release discussion to provide feedback or voice concerns. Thanks!

tay1orjones avatar May 08 '23 16:05 tay1orjones