Need a registry for cairo fonts on win32 (instead of the horrible hack that's in there now)
Bug #333610 reported by
blackdaemon
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Enso Project |
In Progress
|
Low
|
blackdaemon |
Bug Description
Reported by ebjono, Mar 21, 2008
Currently on win32, enso/graphics/
Arial font file as an argument to cairo.
This is bad. Not only is Arial a horribly ugly font, but this is win32
specific code in the core and it's a hard-coded path which may be incorrect
on some systems.
What we really want is a mini font registry in the win32 implementation of
cairo. Then the Enso core can simply always pass a font name into cairo
and the win32 implementation of cairo can use the font registry to look up
the path to the font file.
Also, the font that Enso uses should be specified in the config file.
Related branches
Changed in enso: | |
assignee: | nobody → blackdaemon |
importance: | Undecided → Low |
status: | New → In Progress |
To post a comment you must log in.
Comment 2 by varmaa, Mar 24, 2008
Guillaume said on IRC that it's in Cairo's plans for their next release to allow
custom font registration, so we may want to look into whether any of this is
implemented yet, or if we can help implement it.
It may also be useful to use the same mechanism on OSX, as it could potentially cut
its dependency on fontconfig, making cairo easier to compile and package statically
with Enso.