Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
font-patcher: Allow glyph down-scaling for non-mono fonts
[why] On very small source fonts the patched-in symbol-glyphs can become very big and create overlay problems. It might be desirable to scale them down to 'two advance widths'. [how] It could be that the glyphs in question are in a ScaleGlyph range. So we need to activate that code also for non-single fonts. Further we allow two slots wide symbols in get_scale_factors() for those fonts. Now we take the computed scale factors for non-single fonts - only if we scale down and not up. It will confuse/upset people if the known symbols in their fonts suddenly become bigger - and it also does not look right. Fixes: #718 Fixes: #747 Reported-by: Rui Ming (Max) Xiong <xsrvmy> Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
- Loading branch information