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

Permanently enable features #3

Closed
walski opened this issue Nov 20, 2020 · 4 comments
Closed

Permanently enable features #3

walski opened this issue Nov 20, 2020 · 4 comments
Labels
enhancement New feature or request

Comments

@walski
Copy link

walski commented Nov 20, 2020

Hey, is there a way I can build this font while permanently enabling features on it? I want to use it in an editor where it seems as if I cannot access the variants offered through it's configuration. So would it be possible to turn them from toggle-able features to always-on features of the built TTF?

Thanks for your help and for putting together this great font in general.

@mishamyrt mishamyrt added the enhancement New feature or request label Mar 31, 2023
@mishamyrt
Copy link
Owner

Thank you for your request. Such a builder will be added in version 2.100

@Finii
Copy link

Finii commented Mar 31, 2023

@walski Well, there is the opentype feature freezer. You can specify which alternative glyphs you want and it recreates a new font for you that can be used with applications that do not support open type features.

For example if you like a slashed zero in Lilex, instead of the default dotted one.
The feature is called 'SS03' (see main page of this repo).
You can specify multiple features as comma separated list (no blanks).

$ pip3 install --user --upgrade opentype-feature-freezer
$ pyftfeatfreeze -f 'ss03' ~/Downloads/lilex/Lilex-2.000/ttf/Lilex-Regular.ttf Lilex-Regular-SS03.ttf
$ fontforge ~/Downloads/lilex/Lilex-2.000/ttf/Lilex-Regular.ttf Lilex-Regular-SS03.ttf

image

@Finii
Copy link

Finii commented Apr 1, 2023

Oh, learned something new today, there is an online freezer available now, no install needed on your side.
Just open the web page, upload the font and try it out https://mutsuntsai.github.io/fontfreeze/

Repo: https://github.com/mutsuntsai/fontfreeze

@mishamyrt
Copy link
Owner

The way FontFreeze deactivates a feature is by removing all lookups inside it, and it activates a feature by moving all lookups in it into calt, which is usually activated by default in most environments

Same here.

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

No branches or pull requests

3 participants