Comments (10)
why it didn't ganerate 'abc.otf' file?
from afdko.
Your ttx file must have come from a TTF. It depends what's in the file, but if it's not TTF specific (like glyf) then you just need to change the header of the ttx file from
<ttFont sfntVersion="\x00\x01\x00\x00" ttLibVersion="4.43">
to
<ttFont sfntVersion="OTTO" ttLibVersion="4.43">
from afdko.
Also, ttx is from fonttools and maintained there: https://github.com/fonttools/fonttools/blob/main/Lib/fontTools/ttx.py
from afdko.
My steps are:
1, Using FC(FontCreater) build the font file, and export to a otf file ( abc.otf)
2, Using ttx tools dump a .ttx file(abc.ttx) from .otf file. comand: ttx -q -f -t name -t head abc.otf
3, Modified some values in the .ttx file(abc.ttx)
4, Using ttx tools compile the new .ttx file to .otf file. comand: ttx -f -m abc.otf abc.ttx
which step is wrang?
from afdko.
after the commang 'ttx -q -f -t name -t head abc.otf', the head of .ttx file is :
ttx cann't dump ????
from afdko.
from afdko.
You have it set to TrueType in Outline Format. That will make a TTF even if the extension is otf.
from afdko.
FC exporting file is not a real otf file, only the extension name is otf??
from afdko.
That's what it looks like. If Outline Format is set to TrueType then it should be a TTF font.
from afdko.
I know. Thanks
from afdko.
Related Issues (20)
- [otfautohint/otfstemhist] Add tests
- [spot] alternate metrics ignored in class kern proof
- [otfautohint] (minor) outdated tool names
- [otfautohint] points “optimized away” in flex-like scenario (print only) HOT 15
- [tx] Crashing without error when using -decid option in -t1 mode
- Reordering of ligature substitution rules is considered harmful HOT 10
- [otfautohint] Mishinting of glyph? HOT 7
- [otfautohint] Consider adding flag to selectively skip overlap processing for some glyphs
- [makeotf] silently fails when GOADB has unexpected data
- [makeinstancesufo] & [checkoutlinesufo] multiprocessing vs progress bar, output improvement
- building fails on manjaro HOT 2
- [makeotf] substitution without target item does not fail HOT 8
- Pytest Error Encountered During AFDKO Compilation on Arch Linux HOT 6
- [checkoutlinesufo] XMLSyntaxError reading fontinfo.plist of temp UFO font HOT 3
- [makeotf] -r reports all unhinted glyphs individually HOT 1
- [buildmasterotfs] incompatible sources produced HOT 1
- [makeinstancesufo] allow public.skipExportGlyphs in instances HOT 1
- support newer antlr4? HOT 6
- max glyph count for mergeFonts HOT 15
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from afdko.