bitmap2ttf icon indicating copy to clipboard operation
bitmap2ttf copied to clipboard

Exception: Inconsistent ascent and descent. This case is not handled yet. Please report a bug

Open adang322 opened this issue 2 years ago • 0 comments

Hi, I got the exception when would like to run pcftottf, log as below: adam@adam-HP-280-Pro-G2-MT:~/works/android/tools/bitmap2ttf/bitmap2ttf-master-3.8$ pipenv run pcftottf zpix.pcf zpix.ttf Traceback (most recent call last): File "/home/adam/.local/share/virtualenvs/bitmap2ttf-master-3.8-45YaeVfq/bin/pcftottf", line 33, in <module> sys.exit(load_entry_point('bitmap2ttf', 'console_scripts', 'pcftottf')()) File "/home/adam/.local/share/virtualenvs/bitmap2ttf-master-3.8-45YaeVfq/lib/python3.8/site-packages/click/core.py", line 1128, in __call__ return self.main(*args, **kwargs) File "/home/adam/.local/share/virtualenvs/bitmap2ttf-master-3.8-45YaeVfq/lib/python3.8/site-packages/click/core.py", line 1053, in main rv = self.invoke(ctx) File "/home/adam/.local/share/virtualenvs/bitmap2ttf-master-3.8-45YaeVfq/lib/python3.8/site-packages/click/core.py", line 1395, in invoke return ctx.invoke(self.callback, **ctx.params) File "/home/adam/.local/share/virtualenvs/bitmap2ttf-master-3.8-45YaeVfq/lib/python3.8/site-packages/click/core.py", line 754, in invoke return __callback(*args, **kwargs) File "/home/adam/works/android/tools/bitmap2ttf/bitmap2ttf-master-3.8/bitmap2ttf/convert.py", line 109, in _convert glyphs, _ascent, _descent = f(*args, **kwargs) File "/home/adam/works/android/tools/bitmap2ttf/bitmap2ttf-master-3.8/bitmap2ttf/pcftottf.py", line 87, in pcftottf f = PcfFontFileUnicode(pcffont) File "/home/adam/works/android/tools/bitmap2ttf/bitmap2ttf-master-3.8/bitmap2ttf/pcftottf.py", line 56, in __init__ raise Exception('Inconsistent ascent and descent. This case is not handled yet. Please report a bug') Exception: Inconsistent ascent and descent. This case is not handled yet. Please report a bug

adang322 avatar Dec 24 '21 11:12 adang322