using KDE fonts in xterm - Xwindows

This is a discussion on using KDE fonts in xterm - Xwindows ; How can I use same font that Konsole uses, in xter, ? The font that Konsole is using has name "Lucida Typewriter 10". When I'm trying "xtern -font 'Lucida Typewriter 10'" or "xtern -font 'Lucida Typewriter 10'", I'm inevitably getting ...

+ Reply to Thread
Results 1 to 9 of 9

Thread: using KDE fonts in xterm

  1. using KDE fonts in xterm

    How can I use same font that Konsole uses, in xter, ?
    The font that Konsole is using has name "Lucida Typewriter 10".

    When I'm trying "xtern -font 'Lucida Typewriter 10'" or
    "xtern -font 'Lucida Typewriter 10'", I'm inevitably getting
    "xterm : unable to open font".

    I tried xlsfont but it didn't help.

    Yakov


  2. Re: using KDE fonts in xterm

    iler.ml@gmail.com writes:

    > How can I use same font that Konsole uses, in xter, ?
    > The font that Konsole is using has name "Lucida Typewriter 10".
    >
    > When I'm trying "xtern -font 'Lucida Typewriter 10'" or
    > "xtern -font 'Lucida Typewriter 10'", I'm inevitably getting
    > "xterm : unable to open font".


    xterm -font '-*-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-*-*'

    --
    Måns Rullgård
    mru@inprovide.com

  3. Re: using KDE fonts in xterm

    Måns Rullgård wrote:
    > xterm -font '-*-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-*-*'


    Hmmm, this font looks totlly different than 'Lucida Typewriter 10' in
    Konsole.
    Characters are about half height than that of 'Lucida Typewriter 10'
    in Konsole.
    Why ?

    Yakov


  4. Re: using KDE fonts in xterm

    Måns Rullgård wrote:
    > iler.ml@gmail.com writes:


    >> How can I use same font that Konsole uses, in xter, ?
    >> The font that Konsole is using has name "Lucida Typewriter 10".
    >>
    >> When I'm trying "xtern -font 'Lucida Typewriter 10'" or
    >> "xtern -font 'Lucida Typewriter 10'", I'm inevitably getting
    >> "xterm : unable to open font".


    > xterm -font '-*-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-*-*'


    iirc that's a scalable font, and a quick check works for me:

    xterm -fa 'Lucida Typewriter' -fs 10

    --
    Thomas E. Dickey
    http://invisible-island.net
    ftp://invisible-island.net

  5. Re: using KDE fonts in xterm

    iler.ml@gmail.com writes:

    > Måns Rullgård wrote:
    >> xterm -font '-*-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-*-*'

    >
    > Hmmm, this font looks totlly different than 'Lucida Typewriter 10' in
    > Konsole.
    > Characters are about half height than that of 'Lucida Typewriter 10'
    > in Konsole.
    > Why ?


    Maybe the value 10 has different meanings. Use xfontsel to figure out
    what the right value should be.

    --
    Måns Rullgård
    mru@inprovide.com

  6. Re: using KDE fonts in xterm

    Thomas E. Dickey wrote:
    > xterm -fa 'Lucida Typewriter' -fs 10


    This still looks very different from 'Lucida Typewriter-10' in Konsole.

    Why ?
    And how can I list (from commandline) all available FreeType fonts ?

    Yakov


  7. Re: using KDE fonts in xterm

    Måns Rullgård wrote:
    >> >> xterm -font '-*-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-*-*'

    > Maybe the value 10 has different meanings. Use xfontsel to figure out
    > what the right value should be.


    No, there is only 1 match:

    xlsfonts|egrep 'lucidatypewriter-medium-r-[^-]+-[^-]+-10'
    -b&h-lucidatypewriter-medium-r-normal-sans-10-100-75-75-m-60-iso10646-1

    Yakov


  8. Re: using KDE fonts in xterm

    iler.ml@gmail.com writes:

    > Thomas E. Dickey wrote:
    >> xterm -fa 'Lucida Typewriter' -fs 10

    >
    > This still looks very different from 'Lucida Typewriter-10' in Konsole.
    >
    > Why ?
    > And how can I list (from commandline) all available FreeType fonts ?


    fc-list

    --
    Måns Rullgård
    mru@inprovide.com

  9. Re: using KDE fonts in xterm

    iler.ml@gmail.com wrote:
    > Måns Rullgård wrote:
    >>> >> xterm -font '-*-lucidatypewriter-medium-r-*-*-10-*-*-*-*-*-*-*'

    >> Maybe the value 10 has different meanings. Use xfontsel to figure out
    >> what the right value should be.


    > No, there is only 1 match:


    > xlsfonts|egrep 'lucidatypewriter-medium-r-[^-]+-[^-]+-10'
    > -b&h-lucidatypewriter-medium-r-normal-sans-10-100-75-75-m-60-iso10646-1


    The scalable font entries have a zero in place of a fixed size.
    There's a mapping file (both package and distribution-specific) that
    maps the names and sizes. It's possible that konsole applies (or
    one of its libraries) some additional tweaks that make the resulting
    sizes different from xterm.

    --
    Thomas E. Dickey
    http://invisible-island.net
    ftp://invisible-island.net

+ Reply to Thread