Skip to content
This repository has been archived by the owner on Jun 12, 2023. It is now read-only.

zwj emoji fonts for display in vscode #3

Open
caseybasichis opened this issue Apr 24, 2020 · 4 comments
Open

zwj emoji fonts for display in vscode #3

caseybasichis opened this issue Apr 24, 2020 · 4 comments

Comments

@caseybasichis
Copy link

Hi,

Do you have a recommendation for generating/exporting a font that is compatible with vscode's zwj emoji support?

I'm very excited to have found this repo, but this is disconcerting:

Forc is under heavy development right now. Most font exports don't work quite right or are not functional yet.

What issues am I likely to run into?

@dzuk-mutant
Copy link
Member

dzuk-mutant commented Apr 26, 2020

Hi, I'm not sure how VS Code does emoji fonts, compatibility might either depend on the app itself or the operating system you're working with.

Issues you'll potentially run into If you decide to use forc though:

  • Fonts (when they are supposed to be compatible with an app/OS) may not display on everything properly.
    • sbix is the most stable font output right now and works reasonably well wherever I've tested it.
    • SVGinOT glyphs can not display if one of your SVGs has some wrong contents inside of it. I haven't found what is exactly causing this right now. (SVGinOT is a poorly-documented, inconsistent format unfortunately :S)
    • I've found that CBDT/CBLC output - despite seeming like a valid font output - doesn't actually display glyphs in any operating system or app that supports it right now.
  • Only OpenType ligatures are supported at the moment (I know I said it could to TrueType too, that was a statement of intention more than anything >.>). And I probably won't end up supporting TrueType ligatures since OpenType is very compatible and easier to code for.
  • The metrics I've come up in the guides aren't 100%. I've been trying to make them coexist nicely with normal fonts, but It's not quite there yet.
  • This software is being worked on sporadically; I've stopped development recently to focus on other things but might come back to it in the future. I'm happy to answer questions though.

(I should probably update the readme to give more info on some of these things ^^')

@dzuk-mutant
Copy link
Member

dzuk-mutant commented Apr 26, 2020

One more thing; because of the nature of the compiler that I'm currently using (an external software called fonttools), some variables you put into the Manifest will not actually end up in the output. I've been working on a custom binary compiler to get around this, but it's not yet ready to use in production.

@dzuk-mutant
Copy link
Member

I've just pushed a commit getting rid of any mention of TrueType ligature formats, so that won't be a problem anymore.

@caseybasichis
Copy link
Author

Thank you for this! Getting started today

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

No branches or pull requests

2 participants