public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Terminus-Fonts
@ 2018-06-30  8:44 Klaus Ethgen
  2018-06-30  8:51 ` James Stevenson
  0 siblings, 1 reply; 5+ messages in thread
From: Klaus Ethgen @ 2018-06-30  8:44 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

I usually use terminus fonts inside my xterm. Now I tried to archive the
goal in Gentoo to but without success. xfontsel does not display
terminus fonts.

I use the following:
   ~> equery l media-fonts/terminus-font
    * Searching for terminus-font in media-fonts ...
   [IP-] [  ] media-fonts/terminus-font-4.46:0
   ~> equery u media-fonts/terminus-font
   [ Legend : U - final flag setting for installation]
   [        : I - package is installed with flag     ]
   [ Colors : set, unset                             ]
    * Found these USE flags for media-fonts/terminus-font-4.46:
    U I
    + + X                : Add support for X11
    - - a-like-o         : Changes view of letter 'a' - a looks like o (see homepage)
    + + center-tilde     : Place the '~' character vertically centered on the line instead of to the top.
    - - distinct-l       : ll2 variant with more distinctive l (lowercase L)
    + + pcf              : Install Portable Compiled Font (PCF) (required for X11)
    + + pcf-unicode-only : Remove non-unicode PCF fonts that could be problematic. See bug #520222.
    + + psf              : Install PC Screen Font (PSF) with unicode data (for linux console)
    - - quote            : Changes view of quotes: symmetric ` and ' instead of asymmetric one (see homepage)
    - - ru-dv            : Changes view of Russian letters 'de' and 've' (see homepage)
    + + ru-g             : Changes view of Russian letter 'ge' (see homepage)
    - - ru-i             : Changes view of Russian letter 'i' - not like Latin u, but like "mirrored" N (see homepage)
    - - ru-k             : Changes view of Russian letter 'k' (see homepage)
   ~> eselect fontconfig list
   Available fontconfig .conf files (* is enabled):
     [1]   09-texlive.conf
     [2]   10-autohint.conf
     [3]   10-hinting-full.conf
     [4]   10-hinting-medium.conf
     [5]   10-hinting-none.conf
     [6]   10-hinting-slight.conf *
     [7]   10-no-sub-pixel.conf
     [8]   10-scale-bitmap-fonts.conf *
     [9]   10-sub-pixel-bgr.conf
     [10]  10-sub-pixel-rgb.conf
     [11]  10-sub-pixel-vbgr.conf
     [12]  10-sub-pixel-vrgb.conf
     [13]  10-unhinted.conf
     [14]  11-lcdfilter-default.conf *
     [15]  11-lcdfilter-legacy.conf
     [16]  11-lcdfilter-light.conf
     [17]  20-unhint-small-vera.conf *
     [18]  25-unhint-nonlatin.conf
     [19]  30-metric-aliases.conf *
     [20]  40-nonlatin.conf *
     [21]  42-luxi-mono.conf *
     [22]  45-generic.conf *
     [23]  45-latin.conf *
     [24]  49-sansserif.conf *
     [25]  50-user.conf *
     [26]  51-local.conf *
     [27]  60-generic.conf *
     [28]  60-latin.conf *
     [29]  65-fonts-persian.conf *
     [30]  65-khmer.conf
     [31]  65-nonlatin.conf *
     [32]  69-unifont.conf *
     [33]  70-no-bitmaps.conf
     [34]  70-yes-bitmaps.conf
     [35]  75-yes-terminus.conf *
     [36]  80-delicious.conf *
     [37]  90-synthetic.conf *
     [38]  99pdftoopvp.conf

Any idea why the terminus fonts are not shown in X?

I use wdm as xdm and fvwm as my window manager.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAls3Qs8ACgkQpnwKsYAZ
9qyBSgwApPnSnGzBI6UT8VRc8cJ9FLtmKSSy5FEGJoRRp19qO+94I/eHtAmlp6SQ
5ZzDfFX0clDuGVVq3TRaxaAGEXEDmYFdpNCqAPZy1UmYn7DDq4XGYDlmJTreIG0P
2vQGxFDe1SKXofdo6HcTIo3o67i3Twn1iq/HJZuvT6VsgQ9LZRoBWef6CozL1L8j
g5K+COxnsLdrXR9eXrnTydf+gen6+Ry4D/yQaHXN5Ommkz5pFWEyJ03m147JWPJ7
oWjXi8p3Og4sWqU5ssqjSORzVObvEFqK96XMqC3C6LHkgi/tpXxMNWlHRISVz+ym
Yl8UiJK0lJS16s90BSufpSKj9mrwn7ZxZlOxYO9+djCQpCn2OPE2uYzeT5Hc8V/Q
UCRssl9Lkxk+AAIy8etFbdm/Mw364TtOvgGBq8omR61fWi03wS7ARDMmmYVQHRzI
8+QIGsOZ5meRCtxaQAv4Xr29g6KeIxyZZ/fcOffspnEBAdOsHzbrae7EYFgPx5an
5Dobs0Ck
=1RT7
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Terminus-Fonts
  2018-06-30  8:44 [gentoo-user] Terminus-Fonts Klaus Ethgen
@ 2018-06-30  8:51 ` James Stevenson
  2018-06-30  9:24   ` Klaus Ethgen
  0 siblings, 1 reply; 5+ messages in thread
From: James Stevenson @ 2018-06-30  8:51 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 4353 bytes --]

Have you set the `xft` USE flag?

James

On Sat, Jun 30, 2018, 9:44 AM Klaus Ethgen <Klaus+gentoo@ethgen.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Hi,
>
> I usually use terminus fonts inside my xterm. Now I tried to archive the
> goal in Gentoo to but without success. xfontsel does not display
> terminus fonts.
>
> I use the following:
>    ~> equery l media-fonts/terminus-font
>     * Searching for terminus-font in media-fonts ...
>    [IP-] [  ] media-fonts/terminus-font-4.46:0
>    ~> equery u media-fonts/terminus-font
>    [ Legend : U - final flag setting for installation]
>    [        : I - package is installed with flag     ]
>    [ Colors : set, unset                             ]
>     * Found these USE flags for media-fonts/terminus-font-4.46:
>     U I
>     + + X                : Add support for X11
>     - - a-like-o         : Changes view of letter 'a' - a looks like o
> (see homepage)
>     + + center-tilde     : Place the '~' character vertically centered on
> the line instead of to the top.
>     - - distinct-l       : ll2 variant with more distinctive l (lowercase
> L)
>     + + pcf              : Install Portable Compiled Font (PCF) (required
> for X11)
>     + + pcf-unicode-only : Remove non-unicode PCF fonts that could be
> problematic. See bug #520222.
>     + + psf              : Install PC Screen Font (PSF) with unicode data
> (for linux console)
>     - - quote            : Changes view of quotes: symmetric ` and '
> instead of asymmetric one (see homepage)
>     - - ru-dv            : Changes view of Russian letters 'de' and 've'
> (see homepage)
>     + + ru-g             : Changes view of Russian letter 'ge' (see
> homepage)
>     - - ru-i             : Changes view of Russian letter 'i' - not like
> Latin u, but like "mirrored" N (see homepage)
>     - - ru-k             : Changes view of Russian letter 'k' (see
> homepage)
>    ~> eselect fontconfig list
>    Available fontconfig .conf files (* is enabled):
>      [1]   09-texlive.conf
>      [2]   10-autohint.conf
>      [3]   10-hinting-full.conf
>      [4]   10-hinting-medium.conf
>      [5]   10-hinting-none.conf
>      [6]   10-hinting-slight.conf *
>      [7]   10-no-sub-pixel.conf
>      [8]   10-scale-bitmap-fonts.conf *
>      [9]   10-sub-pixel-bgr.conf
>      [10]  10-sub-pixel-rgb.conf
>      [11]  10-sub-pixel-vbgr.conf
>      [12]  10-sub-pixel-vrgb.conf
>      [13]  10-unhinted.conf
>      [14]  11-lcdfilter-default.conf *
>      [15]  11-lcdfilter-legacy.conf
>      [16]  11-lcdfilter-light.conf
>      [17]  20-unhint-small-vera.conf *
>      [18]  25-unhint-nonlatin.conf
>      [19]  30-metric-aliases.conf *
>      [20]  40-nonlatin.conf *
>      [21]  42-luxi-mono.conf *
>      [22]  45-generic.conf *
>      [23]  45-latin.conf *
>      [24]  49-sansserif.conf *
>      [25]  50-user.conf *
>      [26]  51-local.conf *
>      [27]  60-generic.conf *
>      [28]  60-latin.conf *
>      [29]  65-fonts-persian.conf *
>      [30]  65-khmer.conf
>      [31]  65-nonlatin.conf *
>      [32]  69-unifont.conf *
>      [33]  70-no-bitmaps.conf
>      [34]  70-yes-bitmaps.conf
>      [35]  75-yes-terminus.conf *
>      [36]  80-delicious.conf *
>      [37]  90-synthetic.conf *
>      [38]  99pdftoopvp.conf
>
> Any idea why the terminus fonts are not shown in X?
>
> I use wdm as xdm and fvwm as my window manager.
>
> Regards
>    Klaus
> - --
> Klaus Ethgen                                       http://www.ethgen.ch/
> pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
> Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
> -----BEGIN PGP SIGNATURE-----
> Comment: Charset: ISO-8859-1
>
> iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAls3Qs8ACgkQpnwKsYAZ
> 9qyBSgwApPnSnGzBI6UT8VRc8cJ9FLtmKSSy5FEGJoRRp19qO+94I/eHtAmlp6SQ
> 5ZzDfFX0clDuGVVq3TRaxaAGEXEDmYFdpNCqAPZy1UmYn7DDq4XGYDlmJTreIG0P
> 2vQGxFDe1SKXofdo6HcTIo3o67i3Twn1iq/HJZuvT6VsgQ9LZRoBWef6CozL1L8j
> g5K+COxnsLdrXR9eXrnTydf+gen6+Ry4D/yQaHXN5Ommkz5pFWEyJ03m147JWPJ7
> oWjXi8p3Og4sWqU5ssqjSORzVObvEFqK96XMqC3C6LHkgi/tpXxMNWlHRISVz+ym
> Yl8UiJK0lJS16s90BSufpSKj9mrwn7ZxZlOxYO9+djCQpCn2OPE2uYzeT5Hc8V/Q
> UCRssl9Lkxk+AAIy8etFbdm/Mw364TtOvgGBq8omR61fWi03wS7ARDMmmYVQHRzI
> 8+QIGsOZ5meRCtxaQAv4Xr29g6KeIxyZZ/fcOffspnEBAdOsHzbrae7EYFgPx5an
> 5Dobs0Ck
> =1RT7
> -----END PGP SIGNATURE-----
>
>

[-- Attachment #2: Type: text/html, Size: 5417 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Terminus-Fonts
  2018-06-30  8:51 ` James Stevenson
@ 2018-06-30  9:24   ` Klaus Ethgen
  2018-06-30  9:31     ` James Stevenson
  0 siblings, 1 reply; 5+ messages in thread
From: Klaus Ethgen @ 2018-06-30  9:24 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Am Sa den 30. Jun 2018 um  9:51 schrieb James Stevenson:
> Have you set the `xft` USE flag?

For terminus? No. I do not see the use flag there.

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAls3TC4ACgkQpnwKsYAZ
9qxJqgwAta+/28ngVyFYWoI64AwbEzp53aAoftsX4ta43v+koLKXHU9sQhwBfx4J
oxggqKVB/0G+5vcqhTssAEl5L8BSRtQWlxvo9Qvobxchc6nS3X9weqEoTYtIzUgA
YjqklWVfWLbSHaaT7j0eZM4fWeiMmNxtpgLoUt0iccdQiGESgvyEc+DXQSBZ0vYm
w8l3X4UhjZb4mXgmqOe8q7uyNYdjN8iQrd9As9bevJVj7D7Zaoa1HpREGHHMqDVC
ngqzauLnwaj6ju6Jd/XBkLaju2l8Bti7sxbAbeTcsHZ9a3+vwLUeV6es8j6Oa0KJ
qm8xDmB5MU92ObH1H+XjhEzgjvw5o3stLMDb5vjghTti6QEaRrDhixBVmRrzsUHR
wQ48VFltckHGHQJf5kKyxaOSUIf97BF/0/1O3cIKwowV1OQh8RpUiQ2MjJjWr2yC
uGrCpyF26yBRutxUfZzbRJlVFujkfY9GecfKOiGpfxrnDUwua/CkRV5c0eFo6NUb
rPfz8XLT
=tFVR
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Terminus-Fonts
  2018-06-30  9:24   ` Klaus Ethgen
@ 2018-06-30  9:31     ` James Stevenson
  2018-06-30  9:37       ` Klaus Ethgen
  0 siblings, 1 reply; 5+ messages in thread
From: James Stevenson @ 2018-06-30  9:31 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 1619 bytes --]

It depends if you are using xos4 Terminus fonts in your terminal emulator.
I think you can get it to render as a bitmap font, without xft, but you
cannot control the size or style, and it is very small by default.
I ended up setting `xft` as a global USE flag, it's a rendering library but
I'm not sure if it applies to each of my fonts or my terminal emulator.

James

On Sat, Jun 30, 2018, 10:24 AM Klaus Ethgen <Klaus+gentoo@ethgen.de> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
>
> Am Sa den 30. Jun 2018 um  9:51 schrieb James Stevenson:
> > Have you set the `xft` USE flag?
>
> For terminus? No. I do not see the use flag there.
>
> Regards
>    Klaus
> - --
> Klaus Ethgen                                       http://www.ethgen.ch/
> pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
> Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
> -----BEGIN PGP SIGNATURE-----
> Comment: Charset: ISO-8859-1
>
> iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAls3TC4ACgkQpnwKsYAZ
> 9qxJqgwAta+/28ngVyFYWoI64AwbEzp53aAoftsX4ta43v+koLKXHU9sQhwBfx4J
> oxggqKVB/0G+5vcqhTssAEl5L8BSRtQWlxvo9Qvobxchc6nS3X9weqEoTYtIzUgA
> YjqklWVfWLbSHaaT7j0eZM4fWeiMmNxtpgLoUt0iccdQiGESgvyEc+DXQSBZ0vYm
> w8l3X4UhjZb4mXgmqOe8q7uyNYdjN8iQrd9As9bevJVj7D7Zaoa1HpREGHHMqDVC
> ngqzauLnwaj6ju6Jd/XBkLaju2l8Bti7sxbAbeTcsHZ9a3+vwLUeV6es8j6Oa0KJ
> qm8xDmB5MU92ObH1H+XjhEzgjvw5o3stLMDb5vjghTti6QEaRrDhixBVmRrzsUHR
> wQ48VFltckHGHQJf5kKyxaOSUIf97BF/0/1O3cIKwowV1OQh8RpUiQ2MjJjWr2yC
> uGrCpyF26yBRutxUfZzbRJlVFujkfY9GecfKOiGpfxrnDUwua/CkRV5c0eFo6NUb
> rPfz8XLT
> =tFVR
> -----END PGP SIGNATURE-----
>
>

[-- Attachment #2: Type: text/html, Size: 2201 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-user] Terminus-Fonts
  2018-06-30  9:31     ` James Stevenson
@ 2018-06-30  9:37       ` Klaus Ethgen
  0 siblings, 0 replies; 5+ messages in thread
From: Klaus Ethgen @ 2018-06-30  9:37 UTC (permalink / raw
  To: gentoo-user

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi,

thanks, but finally I found the issue.

xorg is using its default FontPath of:
        /usr/share/fonts/misc/,
        /usr/share/fonts/TTF/,
        /usr/share/fonts/OTF/,
        /usr/share/fonts/Type1/,
        /usr/share/fonts/100dpi/,
        /usr/share/fonts/75dpi/

To add terminus fonts I needed to add /etc/X11/xorg.conf.d/10-fonts.conf
with:
   Section "Files"
      FontPath "/usr/share/fonts/100dpi:unscaled"
      FontPath "/usr/share/fonts/75dpi:unscaled"
      FontPath "/usr/share/fonts/terminus"
   EndSection

Regards
   Klaus
- -- 
Klaus Ethgen                                       http://www.ethgen.ch/
pub  4096R/4E20AF1C 2011-05-16            Klaus Ethgen <Klaus@Ethgen.ch>
Fingerprint: 85D4 CA42 952C 949B 1753  62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Comment: Charset: ISO-8859-1

iQGzBAEBCgAdFiEEMWF28vh4/UMJJLQEpnwKsYAZ9qwFAls3Tz8ACgkQpnwKsYAZ
9qyu6wwAi+PELhg/e9Mg280xSiob1Q3gdRU7hIbCjXVHd8hgE2JSKrMHsRzIbpgH
YuuZK/oxCYpcdcIjPcFcOUpFfe8BsSeOh8NIwqFxGthfsx9dGQx0BsI6AT9hIaCR
y1ibIOVrjXImWm4xF4Cd9qmq5zao3ABm0axxEgsM+6piIpA8JFJQVIOWpWdWbamk
jP61AkQUbYGybropbnSPE2/VhI7OVMxFmnL7Qb1llj6yX3mF3PmyjylW9DxbuBwP
wchWOXQSi1mY7L8QgnlU5C+Mr+S3C/rvf0vKIzwFU3VahSrWjqcBL5fO8b6wkHto
wpUtCkvWuQr1pLl89Jg36IlbUoZmJzP281+DQEn1vUdrCqNkAe/ogkb/w/hKP7pJ
HICh1yx6gkRGHUrKA9w2qympas09JTSS8pa4UMzN2KDDPIxPud4+IBfTeDT31/1m
A61ys3q6wBlFUCvBJa874JnONtcbqO2tX/UGGpRolYhsd+zJs7u6DJwanwoQDRPl
e0AYdF4C
=MSvu
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-06-30  9:37 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-30  8:44 [gentoo-user] Terminus-Fonts Klaus Ethgen
2018-06-30  8:51 ` James Stevenson
2018-06-30  9:24   ` Klaus Ethgen
2018-06-30  9:31     ` James Stevenson
2018-06-30  9:37       ` Klaus Ethgen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox