mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-19 14:01:10 +01:00
hb-graphite now no longer has -ve advances within clusters. Fix infinite loop in tag_to_script(). python fixed to use tag_to_script and allow hbtestfont to be passed font files, where fontconfig knows about them.
This commit is contained in:
1 parent
e5bed0a37f
commit
3109a86add
4 files changed
+10
-5
No files matched your search
@@ -20,7 +20,11 @@ p.add_option('-d', '--debug', action='store_true', help="Output trace info")
|
||||
p.add_option('--nogui', action='store_true', help="Don't display a gui")
|
||||
(opts, args) = p.parse_args()
|
||||
|
||||
fpat = opts.font + ":weight="
|
||||
if opts.font.lower().endswith(".ttf") :
|
||||
fpat = ":file="
|
||||
else :
|
||||
fpat = ""
|
||||
fpat += opts.font + ":weight="
|
||||
fpat += "bold" if opts.bold else "medium"
|
||||
fpat += ":slant="
|
||||
fpat += "italic" if opts.italic else "roman"
|
||||
|
||||
Reference in new issue
Block a user