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

Font support #42

Open
sIRwa2 opened this issue Jun 30, 2022 · 7 comments
Open

Font support #42

sIRwa2 opened this issue Jun 30, 2022 · 7 comments
Labels
feature request A feature request or improvement operator This can be solved by added a new operator.

Comments

@sIRwa2
Copy link

sIRwa2 commented Jun 30, 2022

Support for .ttc .ttf .otf font formats.

maybe also support for Variable fonts, its the new hype / craze/ the kids go nuts for them!

@pixtur
Copy link
Collaborator

pixtur commented Jul 1, 2022

Yes. It would be great to add the MDSF font-create to the project. As far as I can tell, it has no external dependencies, so it should in theory be possible to import TTF.

For other effects it would awesome to generate outlines and meshes directly from TTF.

@pixtur pixtur added operator This can be solved by added a new operator. feature request A feature request or improvement labels Sep 21, 2022
@sense-amr
Copy link
Contributor

extremely important as a standard feature of any graphics program that deals with using fonts..
the process of having to use multiple node programs in order to convert fonts is basically something very few people are going to do and could easily be a thing that turns people off using T3

@sense-amr
Copy link
Contributor

i wonder if this could be of assistance .. in getting standard font support into T3
https://gitlab.freedesktop.org/freetype/freetype

@pixtur
Copy link
Collaborator

pixtur commented Oct 8, 2022

Yes, I already looked at freetype: This nuget-package looks promising: https://www.nuget.org/packages/SpaceWizards.SharpFont

But as I mentioned above, for 95% of all use cases in Tooll3 we want MSDF generate for ttf files.

This nuget-package looks promising.

@domportera
Copy link
Collaborator

was looking into this and ran into these:
msdf-atlas-gen
msdfgen

We could just drop the executables into the project and throw very simple cmd commands at it, then import the generated files

theoretically of course, i know very little about this but it seems like it would be easiest with these tools

@pixtur
Copy link
Collaborator

pixtur commented Dec 4, 2022

Actually this sounds like a good plan. I would be very happy if you could give it a try.

@domportera
Copy link
Collaborator

update: I tried this a while back and the JSON it outputs is missing a lot of details that our MSDF fonts have for some reason /:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request A feature request or improvement operator This can be solved by added a new operator.
Projects
Status: Todo
Development

No branches or pull requests

4 participants