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
{{ message }}
This repository has been archived by the owner on Mar 13, 2023. It is now read-only.
The value of CLIM-FREETYPE::FONT is #<MCCLIM-TRUETYPE:CACHED-TRUETYPE-FONT size=14 ascent=13307/1024 descent=3381/1024 units->pixels=7/1024>, which is not of type CLIM-FREETYPE::FREETYPE-FONT.
When the freetype renderer is disabled, this code produces a blank SVG file as expected, so the issue lies in the intersection of the SVG backend and the freetype renderer. This issue occurs even without attempting to draw any text.
From the looks of things the SVG backend expects the truetype renderer.
The text was updated successfully, but these errors were encountered:
I believe these should change if :mcclim-ffi-freetype is present in features. However replacing them with what I assume are their counterparts clim-freetype:clx-freetype-port and clim-freetype::clx-freetype medium merely leads to different errors. I dont know how best to proceed, though it seems that these are the only places in which it is assumed by the svg backend that the truetype renderer is being used
Are you sure that it is not due to a stale fasl cache? IIRC freetype and truetype renderers may be used at the same time for different ports so there shouldn't be a problem. Please try reloading after removing all fasl files.
Alternatively (and both potential issues are not mutually exclusive), text-style-mapping around method caches incorrectly a truetype font (I can't tell without investigating myself). Generally mcclim-svg should not have its calls dispatched to the freetype renderer, so perhaps investigating from this angle would help.
I prefer to use the freetype renderer as it lets one use OTF fonts, which is useful for current purposes.
After setting it up following the instructions at https://github.com/McCLIM/McCLIM/wiki/Freetype, the X backend works as desired.
However the SVG backend does not work. Executing the following code
gives the following error
When the freetype renderer is disabled, this code produces a blank SVG file as expected, so the issue lies in the intersection of the SVG backend and the freetype renderer. This issue occurs even without attempting to draw any text.
From the looks of things the SVG backend expects the truetype renderer.
The text was updated successfully, but these errors were encountered: