ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Владимир Гусев" <vova1971@narod.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] I: p7 starterkits (20140912)
Date: Fri, 12 Sep 2014 18:32:38 +0400
Message-ID: <20140912183238.7ec933a0@narod.ru> (raw)
In-Reply-To: <20140912181434.376a0ac3@narod.ru>

On Fri, 12 Sep 2014 18:14:34 +0400
Владимир Гусев wrote:

> On Fri, 12 Sep 2014 17:43:34 +0400
> Michael Shigorin wrote:
> 
> > On Fri, Sep 12, 2014 at 05:30:22PM +0400, Владимир Гусев wrote:
> > > > - во всех LiveCD шрифты DejaVu заменены на более читабельные
> > > >   Adobe Source Pro и Mozilla Fira (использование зависит от DE);
> > > Почему зависит от DE?
> > 
> > Эмпирически. :)
> > 
> > > Разве они не прописаны в качестве главных претендентов под алиасы
> > > Sans (+Serif и Monospace, если есть и такие начертания в этих
> > > семействах, не знаю)
> > > в /etc/fonts/conf.avail/60-alt-post-user.conf? Тогда и в любом wm
> > > в качестве Sans и т.д. брался бы первый из списка.. Разве нет?
> > 
> > Вот уж в чём не специалист.  Тут разве что хотелось бы "задавить"
> > fonts-ttf-urw по приоритету куда-то далеко-далеко вниз: с хинтингом
> > там всё достаточно грустно, чтоб в браузере получалось страшненько
> > (можно пронаблюдать на сборке с mate, запустив firefox и открыв
> > http://altlinux.ru или http://opennet.ru).  К сожалению, от этого
> > пакета зависят несколько других, требуемых для образа:
> > https://bugzilla.altlinux.org/30293
> > https://bugzilla.altlinux.org/30294
> > 
> 
> Прописывай дефолтные  шрифты туда. Вторыми поставь шрифты от ms,
> третьими - дежавю, четвертыми - дроид.. а это urw в самый низ..

Вот, например, тут для алиаса serif (с засечками), между <prefer> и
</prefer>. Читается сверху вниз, то  бишь умолчательный шрифт - первый
в этом списке:

[vova@work /]$ cat /etc/fonts/conf.avail/60-alt-post-user.conf 
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
	<alias>
		<family>serif</family>
		<prefer>
			<family>DejaVu Serif</family>
			<family>Liberation Serif</family>
			<family>Times New Roman</family>
			<family>Droid Serif</family>
			<family>URW Palladio L</family>
			<family>Thorndale AMT</family>
			<family>Nimbus Roman No9 L</family>
			<family>Luxi Serif</family>
			<family>FreeSerif</family>
			<family>Bitstream Vera Serif</family>
			<family>Times</family>
		</prefer>

Далее ниже sans (без засечек) и monospace (моноширинный).

> 
> Хинтинг отключай вообще (причем и посредством /etc/fonts/conf.avail/..
> и через ~/.Xdefaults+~/.Xresources, их можно в скелетон) - шрифты
> тогда сами на себя станут похожи. Автохинтинг вообще страшная штука,
> лучше уж четко определить - легкий хинтинг и т.д.
> 
> Короче:
> 
> Антиалиасинг - вкл
> Хинтинг - выкл
> rgb - вкл.
> lcdfilter - default


[root@work ~]# fc-conf --antialias enable --autohint disable --hinting
disable --hintstyle disable --rgba rgb --lcdfilter default [root@work
~]# fc-conf --print antialiasing        : enable
autohinter          : disable
hinting             : disable
hinting style       : unknown
sub-pixel rendering : rgb
LCD filtering       : default
[root@work ~]# fc-cache -r


[root@work /]# cd /etc/fonts/
[root@work fonts]# ls
conf.avail  conf.d  fonts.conf

[root@work ~]# ls /etc/fonts/conf.d/
10-antialias.conf                      51-local.conf
10-sub-pixel-rgb.conf                  52-vova.conf
10-unhinted.conf                       60-alt-post-user.conf
11-lcdfilter-default.conf              60-linux-libertine-libertine.conf
20-unhint-small-vera.conf              61-linux-libertine-biolinum.conf
29-linux-libertine-metrics-alias.conf  65-fonts-persian.conf
30-metric-aliases.conf                 80-delicious.conf
30-urw-aliases.conf                    90-synthetic.conf
40-generic.conf                        99pdftoopvp.conf
49-sansserif.conf                      README
50-user.conf

Это симлинки на файлы из каталога рядом - conf.avail



[vova@work /]$ cat ~/.Xdefaults |grep Xft
Xft.render: true
Xft.lcdfilter: lcddefault
Xft.rgba: rgb
Xft.autohint: false
Xft.hinting: false
Xft.hintstyle: hintnone
Xft.antialias: true
!Xft.dpi: 96



  reply	other threads:[~2014-09-12 14:32 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-12 13:06 Michael Shigorin
2014-09-12 13:30 ` Владимир Гусев
2014-09-12 13:43   ` Michael Shigorin
2014-09-12 14:14     ` Владимир Гусев
2014-09-12 14:32       ` Владимир Гусев [this message]
2014-09-12 14:38         ` Владимир Гусев
2014-09-12 15:08           ` Michael Shigorin
2014-09-12 17:47             ` Владимир Гусев
2014-09-12 17:33         ` Владимир Гусев
2014-09-12 20:30             ` Владимир Гусев
2014-09-13  1:17               ` Denis G. Samsonenko
2014-09-13 12:12                 ` Владимир Гусев
2014-09-15 20:25                   ` Michael Shigorin
2014-09-13 12:23                 ` Владимир Гусев
2014-09-15 20:29                   ` Michael Shigorin
2014-09-15 20:24           ` Michael Shigorin
2014-09-13 13:01     ` Владимир Гусев
2014-09-15 20:20       ` Michael Shigorin

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=20140912183238.7ec933a0@narod.ru \
    --to=vova1971@narod.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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