From 842bb483106e238bbde829903e251abea1aebd96 Mon Sep 17 00:00:00 2001 From: Guido Cella Date: Sat, 28 Dec 2024 22:28:03 +0100 Subject: [PATCH] TOOLS/mpv-osd-symbols.sfdir: add a menu icon 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. --- TOOLS/mpv-osd-symbols.sfdir/font.props | 6 +++--- TOOLS/mpv-osd-symbols.sfdir/uniE00D.glyph | 2 +- TOOLS/mpv-osd-symbols.sfdir/uniE102.glyph | 25 ++++++++++++++++++++++ TOOLS/mpv-osd-symbols.sfdir/uniE10A.glyph | 2 +- sub/osd_font.otf | Bin 4504 -> 4616 bytes 5 files changed, 30 insertions(+), 5 deletions(-) create mode 100644 TOOLS/mpv-osd-symbols.sfdir/uniE102.glyph diff --git a/TOOLS/mpv-osd-symbols.sfdir/font.props b/TOOLS/mpv-osd-symbols.sfdir/font.props index 8198d27e62e80..ae2cec146e990 100644 --- a/TOOLS/mpv-osd-symbols.sfdir/font.props +++ b/TOOLS/mpv-osd-symbols.sfdir/font.props @@ -1,4 +1,4 @@ -SplineFontDB: 3.0 +SplineFontDB: 3.2 FontName: mpv-osd-symbols-Regular FullName: mpv-osd-symbols Regular FamilyName: mpv-osd-symbols @@ -22,7 +22,7 @@ OS2Version: 3 OS2_WeightWidthSlopeOnly: 0 OS2_UseTypoMetrics: 0 CreationTime: 1408646554 -ModificationTime: 1576096543 +ModificationTime: 1735420479 PfmFamily: 81 TTFWeight: 400 TTFWidth: 5 @@ -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 diff --git a/TOOLS/mpv-osd-symbols.sfdir/uniE00D.glyph b/TOOLS/mpv-osd-symbols.sfdir/uniE00D.glyph index 237825c17feed..1e2a3377d0b21 100644 --- a/TOOLS/mpv-osd-symbols.sfdir/uniE00D.glyph +++ b/TOOLS/mpv-osd-symbols.sfdir/uniE00D.glyph @@ -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 diff --git a/TOOLS/mpv-osd-symbols.sfdir/uniE102.glyph b/TOOLS/mpv-osd-symbols.sfdir/uniE102.glyph new file mode 100644 index 0000000000000..d3ba651acfec7 --- /dev/null +++ b/TOOLS/mpv-osd-symbols.sfdir/uniE102.glyph @@ -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 diff --git a/TOOLS/mpv-osd-symbols.sfdir/uniE10A.glyph b/TOOLS/mpv-osd-symbols.sfdir/uniE10A.glyph index 029bf74d015fb..6ebbfc58b8c48 100644 --- a/TOOLS/mpv-osd-symbols.sfdir/uniE10A.glyph +++ b/TOOLS/mpv-osd-symbols.sfdir/uniE10A.glyph @@ -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 diff --git a/sub/osd_font.otf b/sub/osd_font.otf index c5eff7c93d091d03c36e59214ec511e158db4426..b044ad50474d73d9c7e0bd1553af47cd47f9af87 100644 GIT binary patch delta 802 zcmY*XO-NKx6#nkKKYKH8oToG6-^;&wIi^H0iBXv;){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