FreeTypeAbstraction.jl
FreeTypeAbstraction.jl copied to clipboard
A Julian abstraction layer over FreeType.jl
This is with FreeTypeAbstraction v0.10.1, Julia v1.10.1 on Windows. I set Julia depot path with ``` $Env:JULIA_DEPOT_PATH="C:\Users\jaakkor2\MyTemp\depå ``` then ``` julia> using Makie Precompiling Makie Info Given Makie was explicitly...
I initially started looking at this package when I found that it doesn't always look in the right directories for fonts (see #82). However, I recently found that the heuristic...
I was recently thinking of trying something other than a cache to speed up `findfont` (it takes ~1.5s on my machine), but in the process noticed that it seems to...
Identifying the correct platform-specific font directories can be done mostly correctly most of the time just with a hardcoded list of places to look (particularly on Apple systems). However, on...
Currently, it looks like FreeTypeAbstraction only searches the first face in each file, as can be seen here. https://github.com/JuliaGraphics/FreeTypeAbstraction.jl/blob/b7d6d65832e46047225bc02579ba7d124b38ebe2/src/findfonts.jl#L143 `try_load` only loads the face at index 0 - we should...
`findfont` works well, but takes several seconds - which may be considered fast, considering - here (openSUSE Leap-15.3), but led to the significant system-dependent overhead found in https://github.com/cesaraustralia/DynamicGrids.jl/issues/194#issuecomment-995176775. [`findfont`](https://github.com/JuliaGraphics/FreeTypeAbstraction.jl/blob/6f898ca225a6407a3ca351a89d86d41ef7d6879b/src/findfonts.jl#L125-L171) is...
Fix https://github.com/JuliaGraphics/FreeTypeAbstraction.jl/issues/67.
~~Pinning to a patch version in https://github.com/JuliaGraphics/FreeTypeAbstraction.jl/pull/60 was probably not intended.~~ ~~Following this PR, a `FreeTypeAbstraction` bump to `0.10.1` would be appreciated.~~ Update workflows (to test `lts` 1.6).
Some characters in some fonts have multiple glyph that can represent them. Typically the integral sign in math font has one version for inline math and one one for block...
I've been trying to figure out how to obtain the height and the width of a char, but after reading the code, it's not clear to me how to do...