LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   xosd font size (https://www.linuxquestions.org/questions/linux-desktop-74/xosd-font-size-481830/)

mrclisdue 09-09-2006 06:02 AM

xosd font size
 
hey all,

minor issue, in the whole scheme of things, but i can't figure (despite intensive googling) how to increase the font size in an xosd display:

currently, the xosd line being used is
Code:

-adobe-helvetica-bold-r-normal-*-*-160-*-*-p-*-iso8859-1
and i'm unsure which part of that determines font size.


cheers,

neylitalo 01-23-2007 02:55 AM

I realize that this thread is over three months old, but it's the first result in a google for "xosd font size", so I figured I'd go ahead and respond with the answer.

In this example, the 160 is the size specification. That being said, I have it currently set to 160 in the audacious xosd plugin, and it doesn't seem to change. I think it's a problem with the plugin, though... I'm really not sure about that one.

tomslick 03-22-2010 09:44 PM

I realize that this thread is over three years old, but it's still the first result in a google for "xosd font size", so I figured I'd go ahead and respond with a better answer.

use the program "xfontsel" to see the values that you can use
It's simple to use and most of you should be able to figure it out.

this is the way the line breaks down
Code:

-adobe-helvetica-bold-r-normal-*-34-240-100-100-p-182-iso8859-1
Code:

-fndry  -fmly      -wght  -slant  -sWdth  -adstyl  -pxlsz  -ptSz  -resx  -resy  -spc  -avgWdth  -rgstry  -encdng
-adobe  -helvetica  -bold  -r      -normal  -*      -34    -240  -100  -100  -p    -182      -iso8859 -1

Code:

FIELD        DESCRIPTION

fndry        The type foundry that digitized and supplied the font data.

fmly        The name of the typographic style (for example, `courier')

wght        The weight of the font, or its nominal blackness, the degree of boldness or thickness of its characters. Values include `heavy', `bold', `medium', `light', and `thin'

slant        The posture of the font, usually `r' (for `roman', or upright), `i' (`italic', slanted upward to the right and differing in shape from the roman counterpart),
        or `o' (`oblique', slanted but with the shape of the roman counterpart).

swdth        The proportionate width of the characters in the font, or its nominal width, such as `normal', `condensed', `extended', `narrow', and `wide'.

adstyl        Any additional style descriptions the particular font takes, such as
      `serif' (fonts that have small strokes drawn on the ends of each line in the character) or `sans serif' (fonts that omit serifs).

pxlsz        The height, in pixels, of the type. Also called body size.

ptsz        The height, in points, of the type.

resx        The horizontal screen resolution the font was designed for, in dpi ("dots per inch").

resy        The vertical screen resolution the font was designed for, in dpi.

spc        The kind of spacing used by the font (its escapement class); either `p' (a proportional font containing characters with varied spacing),
        `m' (a monospaced font containing characters with constant spacing), or `c' (a character cell font containing characters with constant spacing and constant height).

avgwdth The average width of the characters used in the font, in 1/10th pixel units.

rgstry        The international standards body, or registry, that owns the encoding.

encdng        The registered name of this character set, or its encoding.



All times are GMT -5. The time now is 11:17 AM.