Oliviers-OSS / mscgen

Automatically exported from code.google.com/p/mscgen
GNU General Public License v2.0
0 stars 0 forks source link

Font selection does not work #86

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. configure --with-freetype; make
2. mscgen -T png -F ...
3. look at image

What is the expected output? What do you see instead?
Font is ignored. No documented way to select a font.

What version of mscgen are you using? On what operating system?
0.20 cygwin (not the package which is configured without freetype)

Original issue reported on code.google.com by towom...@googlemail.com on 19 Feb 2015 at 1:20

GoogleCodeExporter commented 9 years ago
OK, it works after quite some hassles with font configuration.
Problems:

• There is no documentation on font configuration. It should be made clear 
(in the man page) that fontconfig is being used and how it can easily be 
supplied with favourite fonts (by linking a fonts folder to ~/.fonts).
• There is no mention of how fonts are addressed with -F. There should be 
some examples (in the man page) with related output of fc-list, to make clear 
the family name and style are to be used, not the full name or font file path 
name.
• If -F addresses a bitmap font, there may be a message like 'Cannot set font 
height' without any hint on what to do.
• If -F does not match any available font, there is no message at all, just 
some other default font is used (not the one used without -F, though).

Please enhance the handling of font setting.

Original comment by towom...@googlemail.com on 27 Feb 2015 at 11:54