File: menusubset-vietnamese.ff

package info (click to toggle)
googlefontdirectory-tools 20120309.1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: buster, sid, stretch
  • size: 340 kB
  • ctags: 73
  • sloc: python: 821; sh: 34; makefile: 30
file content (29 lines) | stat: -rw-r--r-- 756 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/fontforge
# A simple script to generate a menu subset. It outputs all unicode characters
# in "()Fontname Quốc Ngữ"

Open($1)
Select(0u0000) # null
SelectMore(0x000D) # nonmarkingreturn
SelectMore(0u0020) # space
SelectMore(0u0028) # parenleft
SelectMore(0u0029) # parenright
SelectMore(0x0000) # F
SelectMore(0x0000) # o
SelectMore(0x0000) # n
SelectMore(0x0000) # t
SelectMore(0x0000) # n
SelectMore(0x0000) # a
SelectMore(0x0000) # m
SelectMore(0x0000) # e
SelectMore(0x0051) # Q
SelectMore(0x0075) # u
SelectMore(0x1ed1) # ố
SelectMore(0x0063) # c
SelectMore(0x004e) # N
SelectMore(0x0067) # g
SelectMore(0x1eef) # ữ
SelectInvert()
Clear()
# This has to end in .ttf or it will not include all the needed glyphs
Save($1 + ".menu.ttf")