mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-25 17:01:17 +01:00
added desubroutinize & retain-gids full test cases with CFF fonts
and CFF retain-gids fixes
This commit is contained in:
1 parent
f2908b4d8f
commit
c12862657f
54 files changed
+36
-27
No files matched your search
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
File renamed without changes.
BIN
Binary file not shown.
File renamed without changes.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,2 @@
|
||||
--desubroutinize
|
||||
--retain-gids
|
||||
@@ -0,0 +1,3 @@
|
||||
--no-hinting
|
||||
--desubroutinize
|
||||
--retain-gids
|
||||
@@ -5,6 +5,12 @@ SourceSansPro-Regular.otf
|
||||
PROFILES:
|
||||
default.txt
|
||||
drop-hints.txt
|
||||
drop-hints-retain-gids.txt
|
||||
retain-gids.txt
|
||||
desubroutinize.txt
|
||||
desubroutinize-retain-gids.txt
|
||||
drop-hints-desubroutinize.txt
|
||||
drop-hints-desubroutinize-retain-gids.txt
|
||||
|
||||
SUBSETS:
|
||||
abc
|
||||
|
||||
@@ -5,6 +5,12 @@ SourceHanSans-Regular.otf
|
||||
PROFILES:
|
||||
default.txt
|
||||
drop-hints.txt
|
||||
drop-hints-retain-gids.txt
|
||||
retain-gids.txt
|
||||
desubroutinize.txt
|
||||
desubroutinize-retain-gids.txt
|
||||
drop-hints-desubroutinize.txt
|
||||
drop-hints-desubroutinize-retain-gids.txt
|
||||
|
||||
SUBSETS:
|
||||
明
|
||||
|
||||
@@ -34,7 +34,7 @@ class Test:
|
||||
return font_base_name_parts[1]
|
||||
|
||||
def applicable(self):
|
||||
return self.profile_path.find("desubroutinize") < 0 or self.get_font_extension() == "otf"
|
||||
return self.profile_path.find("desubroutinize") < 0 and self.profile_path.find("retain-gids") < 0 or self.get_font_extension() == ".otf"
|
||||
|
||||
# A group of tests to perform on the subsetter. Each test
|
||||
# Identifies a font a subsetting profile, and a subset to be cut.
|
||||
|
||||
Reference in new issue
Block a user