-
Notifications
You must be signed in to change notification settings - Fork 0
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
Additions: smaller TTF version, and individual-letter/subset font version #1
Comments
Hi @gwern I can imagine that we create a "package" If you want, I create a project here on github |
Yes, consider it under whatever license is necessary. I couldn't say what the best way would be. I don't use TeX, much less have any experience with uploading or maintaining font packages. I figured the simplest way would be to simply add those files to the yinit package (which is small) and the CSS or a description thereof to the README. But if you think another package is the right thing to do, go ahead. |
Hi @gwern You said your changes are fine with whatever license. What is with the Obormot created ttf file. Do you have any pointer? Can I include it under the same license as the original fonts? If yes, I would create a new yinit containing the otf, ttf, and split ttf fonts and your description concerning html setup. |
Hi, I am the one who created the TTF files (the big one, the split ones, the .css with the @font-face—everything). (I’m Said Achmiz / Obormot.) You’re welcome to include all of the above under the same license as the original fonts, or any other license you feel is appropriate. |
@achmizs thanks a lot for the contact, that is very much appreciated. |
While adding drop caps to my website recently (demo), I came across
yinit
and we really wanted to use it. However, the TTF/OTF file is quite large, and it would be too expensive to have it downloaded on every page for a single drop caps.So Obormot converted the OTF to a TTF version (uncompressed: 699KB->168KB) which is much smaller.
Then he subsetted the font in FontForge, creating a package of individual font files, which permits loading only the letter used on each page with the following example CSS (update paths as relevant):
This means only 4-7kb (uncompressed) has to be downloaded for each page which is much more doable and represents a bandwidth reduction of ~100x for pages using 1 initial.
I don't know how font packaging or CTAN works, but it would be nice if these could be provided somehow so other people than me could benefit from the
yinit
initials. (As I said, I really like them and think it's a pity that they're hardly used, it looks like.)The text was updated successfully, but these errors were encountered: