[Konsole-devel] KDE Monospace font
Robert Knight
robertknight at gmail.com
Tue Aug 7 18:43:37 UTC 2007
Hello,
> Can anyone explain to me how and where this mapping is defined?
The mapping is done by a library called fontconfig. Essentially it
takes a list of requirements (eg. font called "monospace" and with a
"bold" style, which supports the character that Konsole is attempting
to draw) and finds the closest match amongst the available fonts.
Monospace is a generic name for the user's preferred fixed-width font.
A list of names of real fonts are bound to the monospace name in
priority order. When you ask for 'Monospace', as I understand it, the
first one from that list which matches the character and style
requirements is picked.
Some information on how the font matching works can be found here:
http://fontconfig.org/fontconfig-user.html
On my system, the supplied rules which determine the actual fonts
which will match the "Monospace" name can be found in:
/etc/fonts and /etc/fonts/conf.d
/etc/fonts/conf.avail/README explains the order in which the various
configuration files are processed.
Regards,
Robert.
On 07/08/07, tandem22x <vajkonny at t-online.de> wrote:
> Hello,
>
> When I choose the font Monospace Bold for the KDE konsole, i found out
> that this font is mapped to different ttf-files for different alphabets:
>
> Latin: /usr/share/fonts/truetype/DejaVuSansMono-Bold.ttf
> Japanese: /usr/share/fonts/truetype/ipag.ttf
> Arabic: /usr/share/fonts/truetype/terafikb.ttf
> Hindi: /usr/share/fonts/truetype/Gargi_1.7.ttf
> Armenian:/usr/share/fonts/truetype/FreeMono.ttf
> Georgian: /usr/share/fonts/truetype/FreeMonoBold.ttf
>
> Can anyone explain to me how and where this mapping is defined? How can
> I add a new ttf-font into the Monospace face, let's say for example for
> the Burmese script in the unicode range between U+1000 and U+1100?
>
> Regards,
> H.
>
>
> _______________________________________________
> konsole-devel mailing list
> konsole-devel at kde.org
> https://mail.kde.org/mailman/listinfo/konsole-devel
>
More information about the konsole-devel
mailing list