-
Is it anyhow possible to load multiple Why am I asking that in the browser we have hundreds of registered I guess there might be workarounds by merging fonts on the fly or recursively performing shaping until we go through all font faces, but both seem hacky and too expensive to perform on the client side. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
HarfBuzz only shapes with one font at a time. What you are describing is the process of font selection and font fallback, and HarfBuzz currently doesn't get involved in that. |
Beta Was this translation helpful? Give feedback.
-
I have used the I've gotten great performance doing font fallback with Harfbuzz in the browser, and I wouldn't call it hacky! Especially if you order the fallback list by support for the given text run. I believe browsers do normal fallback when you have multiple subsetted |
Beta Was this translation helpful? Give feedback.
HarfBuzz only shapes with one font at a time. What you are describing is the process of font selection and font fallback, and HarfBuzz currently doesn't get involved in that.