mirror of
https://github.com/mozilla/pdf.js.git
synced 2026-02-08 00:21:11 +01:00
Update links
parent
775612e6c9
commit
7cb141b7ba
@ -45,7 +45,7 @@ If the font is failing the open type sanitizer (OTS), Firefox should show a mess
|
||||
### Helpful Font Tools
|
||||
If the font isn't failing the sanitizer or the sanitizer error doesn't lead you to the font issue, it is often helpful to use other font tools to try and find the source of the problem.
|
||||
|
||||
**[TTX](http://sourceforge.net/projects/fonttools/)**
|
||||
**[TTX](https://github.com/fonttools/fonttools)**
|
||||
|
||||
TTX is probably the most useful tool for debugging fonts. It provides a way to convert fonts to XML and then back to the open type format from the XML. A helpful test is to first convert the font to XML, then back to OTF and then test if the font works using a test HTML page.
|
||||
|
||||
@ -55,7 +55,7 @@ TTX is probably the most useful tool for debugging fonts. It provides a way to c
|
||||
|
||||
If the font works after running through `ttx` you can then do a binary diff of the two font files to try and track down the problematic portion. If the font still isn't working after conversion, you can then start removing parts of the XML file and converting it back to OTF to see if which section may be causing issues.
|
||||
|
||||
**[Adobe FDK](http://www.adobe.com/devnet/opentype/afdko.html)**
|
||||
**[Adobe FDK](https://www.adobe.com/devnet/opentype/afdko.html)**
|
||||
|
||||
The Adobe Font Development Kit includes the above `ttx` program and several other programs such as `tx` and `sfntedit`. Running the font through `tx` can provide warnings and useful information. `tx` can be used to do a round-trip conversion to look for problems in a similar fashion as `ttx`. For example converting a CID font:
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user