Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to eliminate whitespace glyphs. #10

Open
flowchartsman opened this issue Oct 10, 2022 · 0 comments
Open

Add option to eliminate whitespace glyphs. #10

flowchartsman opened this issue Oct 10, 2022 · 0 comments

Comments

@flowchartsman
Copy link
Owner

Whilst attempting to use Greybeard in a keynote presentation, I noticed the linefeed glyph appeared wherever I hit shift-enter to manually split a line (i.e. a particularly long bulleted list item running into an image). This is common enough that this glyph should be optional, and the default should be not to show them.

This applies to the following glyphs:

  • CtlHT: horizontal tab
  • CtlLF: line feed
  • CtlVT: vertical tab
  • CtlFF: form feed
  • CtlCR: carriage return
  • CtlNL: newline

The normal precedent for feature selection is to edit the VARIANTS.dat file originally provided by UW ttyp0, which is what is done to avoid the display of non-breaking space by simply copying the ordinary space glyph in its place:

# build/VARIANTS.dat
COPYTO Space SpaceNoBreak

This won't work here since these characters should be zero width. Furthermore the original distribution's bdfmangle tool, which is used to parse and execute the changes in VARIANTS.dat, does not have a verb to delete or omit glyphs, so one will have to be added or a new tool will have to be written.

It's likely going to have to be a new tool so that I don't have to write Perl, and also to help out with the work that needs to be done for #6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant