1OTS-SIDE-BY-SIDE(1)              User Commands             OTS-SIDE-BY-SIDE(1)
2
3
4

NAME

6       ots-side-by-side - font quality checker
7

SYNOPSIS

9       ots-side-by-side FONT_FILE
10

DESCRIPTION

12       ots-side-by-side  is  a  program  which renders some characters (ASCII,
13       Latin-1, CJK) using both original font and transcoded font  and  checks
14       that the two rendering results are exactly equal.
15
16       The following Unicode characters are used during the test:
17
18              0x0020 - 0x007E  // Basic Latin
19              0x00A1 - 0x017F  // Latin-1
20              0x1100 - 0x11FF  // Hangul
21              0x3040 - 0x309F  // Japanese HIRAGANA letters
22              0x3130 - 0x318F  // Hangul
23              0x4E00 - 0x4F00  // CJK Kanji/Hanja
24              0xAC00 - 0xAD00  // Hangul
25
26       This tool uses FreeType library.
27
28       Note: This tool doesn’t check kerning (GPOS/kern) nor font substitution
29       (GSUB).  These should be tested in Layout tests if necessary.
30

EXAMPLES

32              $ ./ots-side-by-side linux/kochi-gothic.ttf  # no problem
33              $ ./ots-side-by-side free/kredit1.ttf        # this is known issue of OTS.
34              bitmap metrics doesn't match! (14, 57), (37, 45)
35              EXPECTED:
36
37                +#######*.
38               +##########+
39              *#*   #     #*
40              ##.   #     ##
41              ##    #     ##
42              ##    #     ##
43              ##    #.    ##
44              ##.   #.   .##
45              ##.   #.   .##
46              *#+   *+   +#*
47              *#+   *+   +#*
48              *#+   *+   +#*
49              *#+   *+   +#*
50              *#+   *+   *#*
51              *#+   ++   *#+
52              +#*   +*   *#+
53              +#*   +*   *#+
54              +#*   +*   *#+
55              +#*   +*   ##.
56              +#*   +*   ##.
57               ##    #   ##
58               ##    #   ##
59               ##    #  .##
60               ##    #  .##
61               ##   .#+ +#*
62               ##  +######*
63               ##.+#######*
64               *##########*
65               +##########+
66                #########*
67                .########
68                  +####+
69
70
71
72
73
74
75                .*######*
76               +##*.*#####
77              *#* ##      #+
78              ##*###      ##
79              ######      ##
80              ##+.##+    +##
81              ##  ##########
82              ##  +#########
83              ##   +########
84              *#. .########*
85               +##########+
86                +*######*
87
88              ACTUAL:
89
90                .*##*+
91               +##+.##*.
92              *#  ###   *#+
93              #*######+  .*#+
94              #########*.  +#*.
95              ###########*   +#*
96              *############+   *#+
97              +##############.  .##.
98               *##############*   +#*
99                +###############+   *#+
100                  *###############+  .*#+
101                   .###############*.  +#*.
102                     +###############*   +#*
103                       *###############+   *#+
104                        .*###############+  .*#+
105                          +###############*.  +#*
106                            +###############*   **
107                              *###############+  #+
108                               .###############* ##
109                                 +############+  ##
110                                   +########*   .##
111                                    .######.   +###
112                                   +#####+   .*#..#
113                                 +#####*    *###..#
114                                *#####.   +#######*
115                              +#####+   .*########.
116                            +#####*    +#########*
117                           *#####.   +##########+
118                         +#####+    *#########*.
119                       .#####*    +##########+
120                      *#####.   +##########*
121                    +#####+    *#########*.
122                  .#####*    +##########+
123                 *#####+   +##########*
124               .#*++#+    *#########*.
125              ****###+.##########*
126              ##################.
127              ###+  *#########+
128              ##   +########*
129              *#+ *########.
130               ##.#######+
131               +#######*
132                 *###*.
133
134
135              Glyph mismatch! (file: free/kredit1.ttf, U+0021, 100pt)!
136

REPORTING BUGS

138       Report bugs to  <https://github.com/khaledhosny/ots/issues>
139

SEE ALSO

141       ots-idempotent(1),   ots-perf(1),    ots-sanitize(1),    ots-validator-
142       checker(1)
143
144
145
146OpenType Sanitizer                 May 2021                OTS-SIDE-BY-SIDE(1)
Impressum