ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] X fonts
Date: Fri, 4 Jan 2008 13:34:07 +0300
Message-ID: <20080104103407.GA4575@atlas.home> (raw)
In-Reply-To: <1199437545l.14207l.3l@ildar.innovations.kz>

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

On Fri, Jan 04, 2008 at 03:05:45PM +0600, Ildar Mulyukov wrote:
> Я совершенно не владею вопросом. Кто разъяснит мне следующее?
> 
> Конфигурация такая:
> $ ls -l /etc/X11/fontpath.d/ | grep vga
> lrwxrwxrwx 1 root root 38 Сен 17 14:43 bitmap-univga:unscaled:pri=20 ->  
> ../../../usr/share/fonts/bitmap/univga
> 
> Далее смотрим:
> $ xlsfonts -fn '-*-vga-*-*-*-*-24-*-*-*-*-*-*-cp1251'
> xlsfonts: pattern "-*-vga-*-*-*-*-24-*-*-*-*-*-*-cp1251" unmatched

В fonts-bitmap-univga есть только растровые шрифты 8x16 и 9x16 (но у
9x16 имя vga9).  Шрифт высотой 24 пиксела может быть получен только
путём масштабирования, но параметр :unscaled запрещает масштабирование
растровых шрифтов.

> $ xlsfonts -fn '-*-vga-*-*-*-*-16-*-*-*-*-*-*-cp1251'
> -bolkhov-vga-medium-r-normal--16-160-75-75-c-80-microsoft-cp1251
> -bolkhov-vga-medium-r-normal--16-160-75-75-c-80-microsoft-cp1251
> 
> Далее делаем так:
> $ xset +fp /usr/share/fonts/bitmap/univga
> $ xlsfonts -fn '-*-vga-*-*-*-*-24-*-*-*-*-*-*-cp1251'
> -bolkhov-vga-medium-r-normal--24-173-100-100-c-0-microsoft-cp1251

Теперь каталог univga доступен без запрета масштабирования, и X
возвращает масштабированный растровый шрифт.  По умолчанию
использование таких шрифтов запрещено из-за низкого качества
получающихся шрифтов.

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2008-01-04 10:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-04  9:05 Ildar Mulyukov
2008-01-04 10:34 ` Sergey Vlasov [this message]
2008-01-04 10:36   ` Ildar Mulyukov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080104103407.GA4575@atlas.home \
    --to=vsu@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git