You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi William,
Im'going to finalize my integration with SvgAndMe.
I patched a cross-platform solution so that an "Arial.ttf" of my own is always pre-loaded, plus few more ttf/ttc font-files "picked from the platform" (if they exists).
Personally I don't like (or I don't understand) these SVG files using some external fonts.
Trying to load your "gallery/tango.svg" with my TclTk app or with your svgimage.exe, I got a lot of warning like this
== FontHandler::selectFontFamily, NOT FOUND; DejaVu Sans
and this is the result ...
Anyway, if SVG allows (by design) these 'approximations', .. I'll have to like them.
Now, here are some of my specific questions about waavs::FontHandler:
a) isn't there a method to unload a font ? (hmm .. BLFonManager has no such method .. )
b) trying to load an already loaded font should be a no-op, .. shouldn't it ?
c) why method FontHandler::loadFontFace(const char* filename, BLFontFace &ff) requires these two arguments ? Only the filename is necessary. Am I missing something ?
The text was updated successfully, but these errors were encountered:
I don't know why I've never seen these til now.
a) No such method to remove. Are you concerned about to much space being taken up?
b).Loading already loaded, I'm not sure. FontHandler doesn't do anything, so it depends on blend2d
c) To fillin that specific BLFontFace object. But, this might be a 'legacy' API which is no longer necessary.
That Tango thing really shows off font challenges. Yes, unless you have the very specific font it's looking for, it's going to default to whatever you have set as the default for your graphics context. SVG does have support for internal fonts, but it seems this has fallen out of favor. I tried implementing that once, but blend2d isn't quite up for what comes as base64 encoded embedded fonts.
Hi William,
Im'going to finalize my integration with SvgAndMe.
I patched a cross-platform solution so that an "Arial.ttf" of my own is always pre-loaded, plus few more ttf/ttc font-files "picked from the platform" (if they exists).
Personally I don't like (or I don't understand) these SVG files using some external fonts.
Trying to load your "gallery/tango.svg" with my TclTk app or with your svgimage.exe, I got a lot of warning like this
== FontHandler::selectFontFamily, NOT FOUND; DejaVu Sans
and this is the result ...
Anyway, if SVG allows (by design) these 'approximations', .. I'll have to like them.
Now, here are some of my specific questions about waavs::FontHandler:
a) isn't there a method to unload a font ? (hmm .. BLFonManager has no such method .. )
b) trying to load an already loaded font should be a no-op, .. shouldn't it ?
c) why method FontHandler::loadFontFace(const char* filename, BLFontFace &ff) requires these two arguments ? Only the filename is necessary. Am I missing something ?
The text was updated successfully, but these errors were encountered: