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

Color or CBDT/CBLC support #100

Open
noraj opened this issue Sep 17, 2023 · 1 comment
Open

Color or CBDT/CBLC support #100

noraj opened this issue Sep 17, 2023 · 1 comment

Comments

@noraj
Copy link

noraj commented Sep 17, 2023

I was using asciidoctor-pdf but I had a blocking error (asciidoctor/asciidoctor-pdf#2448) due to ttfunk.

It's different form #45 as in both cases I was using a TTF font and not an OTF font. However, is looks similar to #81.

I know very little about fonts but I can read this on the ArchLinux Wiki:

Emoji fonts come in different formats: CBDT/CBLC (Google), SBIX (Apple), COLR/CPAL (Microsoft), SVG (Mozilla/Adobe).

Among the TTF fonts Noto Color Emoji and JoyPixels are using CBDT/CBLC format, Twemoji is available as CBDT/CBLC format or SVG (SVG in OTF, so SVG format is not TTF) format and Symbola is outline only (grayscale).

I'm not really sure if it's a matter of color / grayscale or a matter of format.

@pointlessone
Copy link
Member

Unfortunately TTFunk (and Prawn by proxy) doesn't support any of those tables (not CB*, not SVG). At the moment there's only support for basic outlines.

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

No branches or pull requests

2 participants