Change DEFAULT_FONT_NAME to User Defined Font Name
Bug #1099453 reported by
Sergey Shtalin
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gEDA |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
By default gschem uses Arial font. This patch provides new parameter
in ~/.gEDA/gschemrc file for replace default font in gschem to user
defined font. After applying this patch and compiling sources you may
add to ~/.gEDA/gschemrc follow string:
(gschem-font-name "Your Font Name")
and gschem will draw text by your font. It will be usefull for drawing
schemes with Russian GOST.
To post a comment you must log in.
Nack. I won't apply this patch for two reasons:
1) It makes it impossible to instantiate a functional EdaRenderer object unless you tweak an apparently- unrelated, magic, non-reentrant variable. No changes to libgedacairo are required to implement this feature; you should just get gschem to set the "font-name" property on the EdaRenderer object that it uses.
2) Please use the EdaConfig mechanism rather than adding new gschemrc parameters. See the sources of `gaf export' for an example.