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

webfont more development #5

Open
orynider opened this issue Jun 8, 2021 · 0 comments
Open

webfont more development #5

orynider opened this issue Jun 8, 2021 · 0 comments

Comments

@orynider
Copy link

orynider commented Jun 8, 2021

For webfont more development I created a bare copy for my organization at https://github.com/BeitDina/webfont

Added in webfont\trunk\assets\scripts
tottf.pe
tosvg.pe
tootf.pe
tosfd.pe
toamf.pe

Added in webfont\trunk\develop
config-default-win.yml
This is expanding .exe to the binaries for Windows and has to renamed.
Added to \webfont\trunk\src\Converters
SplitFontDBConverter.php
FontMetricsConverter.php

Added support for otf and eot and new formats to more .php files such as
\webfont\trunk\src\Form\FontType.php
Removed that Latin is checked automatically because is breaking ancient fonts we draw such as: https://github.com/BeitDina/Proto-Sianitic that has unicode-range="U+0591-10918"

Added support for more font subsets from https://www.unicode.org/charts/ in
\webfont\trunk\src\Subsetters\PythonFontSubset.php

Converts one OTF/TTF, SVG, SFD, WOFF and WOFF2 and makes a webfont pack, and we can use https://github.com/BeitDina/SVG-Icon-Font-Generator for the generation of html and css files needed for release with two commands, for example:
\Wamp\bin\php\php5.6.35\php \SVG-Icon-Font-Generator\run.php create-info /Fonts/Proto-Sianitic/Proto-Sianitic.svg /Fonts/Proto-Sianitic/Proto-Sianitic.html
\Wamp\bin\php\php5.6.35\php \SVG-Icon-Font-Generator\run.php create-css /Fonts/Proto-Sianitic/Proto-Sianitic.svg /Fonts/Proto-Sianitic/Proto-Sianitic.css

You can borrow anything you need back to the project.

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

1 participant