Skip to content

Commit

Permalink
TOOLS/mpv-osd-symbols.sfdir: add a menu icon
Browse files Browse the repository at this point in the history
Taken from the last freely licensed version of Symbola and manually
adjusted the number in the glyph file to match the adjacent arrows.

Saving sfdir with fontforge also automatically removed the O flag from 2
existing glyphs. According to
https://fontforge.org/docs/techref/sfdformat.html "O" just meant "the
character was open when last saved", so it doesn't change anything
visible.
  • Loading branch information
guidocella committed Jan 8, 2025
1 parent 2ac1ab1 commit 842bb48
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 5 deletions.
6 changes: 3 additions & 3 deletions TOOLS/mpv-osd-symbols.sfdir/font.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SplineFontDB: 3.0
SplineFontDB: 3.2
FontName: mpv-osd-symbols-Regular
FullName: mpv-osd-symbols Regular
FamilyName: mpv-osd-symbols
Expand All @@ -22,7 +22,7 @@ OS2Version: 3
OS2_WeightWidthSlopeOnly: 0
OS2_UseTypoMetrics: 0
CreationTime: 1408646554
ModificationTime: 1576096543
ModificationTime: 1735420479
PfmFamily: 81
TTFWeight: 400
TTFWidth: 5
Expand Down Expand Up @@ -63,7 +63,7 @@ NameList: AGL For New Fonts
DisplaySize: -72
AntiAlias: 1
FitToEm: 0
WinInfo: 57600 8 2
WinInfo: 57540 14 11
BeginPrivate: 8
BlueValues 31 [-10 0 640 650 720 730 800 810]
BlueScale 5 0.037
Expand Down
2 changes: 1 addition & 1 deletion TOOLS/mpv-osd-symbols.sfdir/uniE00D.glyph
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
StartChar: uniE00D
Encoding: 57357 57357 34
Width: 880
Flags: HWO
Flags: HW
HStem: 780 20G<200 200>
VStem: 200 375<400 400 400 800>
LayerCount: 2
Expand Down
25 changes: 25 additions & 0 deletions TOOLS/mpv-osd-symbols.sfdir/uniE102.glyph
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
StartChar: uniE102
Encoding: 57602 57602 35
Width: 880
VWidth: 880
Flags: HW
LayerCount: 2
Fore
SplineSet
880 640 m 1
0 640 l 1
0 800 l 1
880 800 l 1
880 640 l 1
880 320 m 1
0 320 l 1
0 480 l 1
880 480 l 1
880 320 l 1
880 0 m 1
0 0 l 1
0 160 l 1
880 160 l 1
880 0 l 1
EndSplineSet
EndChar
2 changes: 1 addition & 1 deletion TOOLS/mpv-osd-symbols.sfdir/uniE10A.glyph
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ StartChar: uniE10A
Encoding: 57610 57610 23
Width: 1977
GlyphClass: 2
Flags: HMWO
Flags: HMW
HStem: 242 248<2 155 2 156>
LayerCount: 2
Fore
Expand Down
Binary file modified sub/osd_font.otf
Binary file not shown.

0 comments on commit 842bb48

Please sign in to comment.