Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
font-patcher: Remove obsolete metadata on glyph exchange
[why] When we overwrite a glyph that originally had some special handling, be it a substitution or position table entry (GPOS/GSUB), that special handling is usually not appropriate anymore and has to be removed. If we need special lookup table entries for the new glyph we would have to add them later anyhow, because we can not rely on their existance. In Issue #509 it was a ligature entry, that replaced 'f' followed by 'i' with the 'fi' ligature. The ligature glyph is overwritten by us with a telephone symbol and the substitution table entry makes no sense anymore. [how] If we overwrite a preexisting codepoint we remove it from all lookup tables. Thanks to all other reporters with details. Fixes: #509 #254 Reported-by: mangelozzi <mangelozzi@gmail.com> Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
- Loading branch information