Very nice! Thanks for the background - that was a good discussion, and nice to 
understand your concern about applying NPC treatment to a printing character.  
There is a case to be made for some kind of visual discrimination (on the 
working screen, not the printed page) between typographically identical glyphs 
which behave differently, like breaking and non-breaking hyphen.


On 2021-03-24 16:38, V Stuart Foote wrote:
NPC -- Non-Printing Character [1]

The LibreOffice VCL canvas will apply "field" shading to a broad class of 
control and non-printing characters, we've asked to give them more distinction from 
fielded values [2]

=-ref-=
[1] https://en.wikipedia.org/wiki/Control_character

[2] https://bugs.documentfoundation.org/show_bug.cgi?id=58434


________________________________
From: John Kaufmann <kaufm...@nb.net>
Sent: Wednesday, March 24, 2021 2:21 PM
To: users@global.libreoffice.org <users@global.libreoffice.org>
Subject: Re: [EXTERNAL] [libreoffice-users] Non-breaking dash/hyphen

Excellent! (I was wondering what happened to U+2011 as I investigated the "General 
Punctuation" group.) So it's just a matter of the Liberation family not covering the 
U+2011 codepoint - but a replacement glyph is provided. Thanks!

You used a term I don't recognize: "NPC".  My search turned up that it is a popular abbreviation for 
"non-playing character" in domains like WoW, Runelite and lots of other things of which I know nothing, but 
fortunately I don't think you used it in that context. I suspect it is close to that textually -- "non" <?> 
"character" -- but I decided I had best ask: ?


On 2021-03-24 14:56, V Stuart Foote wrote:
You've missed the one Unicode point that does exactly what you require, but its 
use will depend on the font in use.

U+2011 NON-BREAKING HYPHEN

You can enter via LibreOffice Special Character dialog, or LibreOffice's Unicode 
toggle. That is you can type U+2011 and then <Alt>+X to toggle the glyph.

If the font in use does not "cover" the codepoint, you'll get a fallback 
replacement or possibly the no glyph value for the font.

When added to canvas the non-breaking hyphen character will receive NPC 
highlighting.


--
To unsubscribe e-mail to: users+unsubscr...@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy

Reply via email to