Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Where is the kerning information in the csv output? #52

Open
DeexCoding opened this issue Oct 29, 2022 · 2 comments
Open

Where is the kerning information in the csv output? #52

DeexCoding opened this issue Oct 29, 2022 · 2 comments

Comments

@DeexCoding
Copy link

Why is the csv ouput lacking information and not documented at all?

@Chlumsky
Copy link
Owner

Why? Because obviously you can only represent one type of data in CSV, there is nowhere to put it. Not documented?

  • -csv <filename.csv> – writes the glyph layout data into a simple CSV file

It clearly says that only glyph layout data will be written, nothing else. Lacking information? Well, the kerning table is directly copied from the font file, it's not something generated (or even used) by this program, and it's only written to JSON as a bonus, you can parse it from the font yourself.

If you find the CSV output insufficient or lacking documentation, that's exactly why there are multiple format options, so simply use the one that best fits your needs.

@DeexCoding
Copy link
Author

For your first point, I meant the first number in the line is the character codepoint second is the advance and so on. I should not have to dig into the source code to know which number means what.

For your second point, you got me there.

For your third point, no. If you provide csv, generally, a good library documents how it's csv files are laid out.

I forgot to mention this in my intial post, but even though I am sounding harsh here I admire the work you do here and that you put a very high quailty thesis out onto the internet for everyone to use is very cool. Keep up the great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants