easytarget / easytarget/microPyEZfonts

Issues with space characters in .bdf's from the otf2bdf tool

Open
#38 0 comments 0 reactions 1 assignee Claimed by @easytarget View on GitHub
bug
Dominant language
Python
Stars
74
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Some .bdf's define a space like this:
```text
STARTCHAR 0020
ENCODING 32
SWIDTH 240 0
DWIDTH 2 0
BBX 0 0 0 0
BITMAP
ENDCHAR
```
But this causes `bdf2dict` to skip (omit) the glyph completely.

Need to make spaces defined like this process properly to an (empty) glyph of the correct width (eg the 'DWIDTH X' value)

This is currently worked around by manually modifying the relevant entries in source bdf's to look like:
```
STARTCHAR 0020
ENCODING 32
SWIDTH 240 0
DWIDTH 2 0
BBX 0 1 0 0
BITMAP
00
ENDCHAR
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.