Skip to content

Commit

Permalink
Devicons: Fix scaling of some few glyphs
Browse files Browse the repository at this point in the history
[why]
Some glyphs in the (patched) E7B0-E7CF region seem to be too big.

[how]
The codepoints in the symbol font are 0x0100 less.
These are the "small things" that had a specific scale rule, which is
not needed anymore after we dropped these small icons and filled those
codepoints with new and bigger icons.

Signed-off-by: Fini Jastrow <ulf.fini.jastrow@desy.de>
  • Loading branch information
Finii committed Nov 13, 2024
1 parent 72d5213 commit b7706da
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions font-patcher
Original file line number Diff line number Diff line change
Expand Up @@ -1032,10 +1032,7 @@ class font_patcher:
[*range(0xeb89, 0xeb8b + 1), 0xec07], # smallish dots
range(0xebd5, 0xebd7 + 1), # compasses
]}
DEVI_SCALE_LIST = {'ScaleGlyph': 0xE60E, # Android logo
'GlyphsToScale': [
(0xe6bd, 0xe6c3) # very small things
]}
DEVI_SCALE_LIST = None
FONTA_SCALE_LIST = {'ScaleGroups': [
[0xf005, 0xf006, 0xf089], # star, star empty, half star
range(0xf026, 0xf028 + 1), # volume off, down, up
Expand Down

0 comments on commit b7706da

Please sign in to comment.