LinuxForum.Fans
Тема

Шрифты, разобраться раз и на всегда

Автор: riso 103 сообщений 33720 просмотров
#250615

в убунте шрифты ужасны
но раз хочешь, то подключай оверлей lcd-filtering
выставляй соответствующие юзы ...
расфлудились ниачём...

#250616
"tyrnov" написал:
Это я так понял каталог /etc/portage/autopatch/x11-libs/cairo, а сам файл в нем как называется?

В данном случае cairo-9999-cleartype.patch, главное, чтобы на .patch заканчивался.

"tyrnov" написал:
И как сменить в wgetpaste сервис по умолчанию.
text
echo 'DEFAULT_SERVICE="ca"' > ~/.wgetpaste.conf

P.S. Посмотреть доступные сервисы

text

wgetpaste -S

P.S.S. Архив с патчем и скриптом для шрифтов — http://clck.ru/d/IeHnVWlm13QYJ

#250621

в убунте шрифты ужасны

megabaks, что вы посоветуете ?

#250625

megabaks, что вы посоветуете ?
НЕ пользоваться убунтой:D

#250628

и так не пользуюсь) просто мне более-менее нравиться lcd-filtering, но если есть что-то лучше, с радостью накачу

#284311
text

emerge -av x11-libs/cairo

* IMPORTANT: 7 news items need reading for repository 'gentoo'. * Use eselect news to read news items.

These are the packages that would be merged, in order:

Calculating dependencies... done! [ebuild R ] x11-libs/cairo-1.12.6 USE="X glib svg xcb (-aqua) -debug -directfb -doc (-drm) (-gallium) -legacy-drivers -opengl -openvg -qt4 -static-libs" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) x11-libs/cairo-1.12.6 * cairo-1.12.6.tar.xz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking cairo-1.12.6.tar.xz to /var/tmp/portage/x11-libs/cairo-1.12.6/work >>> Source unpacked in /var/tmp/portage/x11-libs/cairo-1.12.6/work !!! FAILED auto patching cairo-9999-cleartype.patch * The ebuild phase 'prepare' has exited unexpectedly. This type of * behavior is known to be triggered by things such as failed variable * assignments (bug #190128) or bad substitution errors (bug #200313). * Normally, before exiting, bash should have displayed an error message * above. If bash did not produce an error message above, it's possible * that the ebuild has called `exit` when it should have called `die` * instead. This behavior may also be triggered by a corrupt bash binary or * a hardware problem such as memory or cpu malfunction. If the problem is * not reproducible or it appears to occur randomly, then it is likely to * be triggered by a hardware problem. If you suspect a hardware problem * then you should try some basic hardware diagnostics such as memtest. * Please do not report this as a bug unless it is consistently * reproducible and you are sure that your bash binary and hardware are * functioning properly.

>>> Failed to emerge x11-libs/cairo-1.12.6, Log file:

>>> '/var/tmp/portage/x11-libs/cairo-1.12.6/temp/build.log'

* Messages for package x11-libs/cairo-1.12.6:

* The ebuild phase 'prepare' has exited unexpectedly. This type of * behavior is known to be triggered by things such as failed variable * assignments (bug #190128) or bad substitution errors (bug #200313). * Normally, before exiting, bash should have displayed an error message * above. If bash did not produce an error message above, it's possible * that the ebuild has called `exit` when it should have called `die` * instead. This behavior may also be triggered by a corrupt bash binary or * a hardware problem such as memory or cpu malfunction. If the problem is * not reproducible or it appears to occur randomly, then it is likely to * be triggered by a hardware problem. If you suspect a hardware problem * then you should try some basic hardware diagnostics such as memtest. * Please do not report this as a bug unless it is consistently * reproducible and you are sure that your bash binary and hardware are * functioning properly.

#284316

tyrnov, сейчас уже не нужно самому патчить.
Включите для media-libs/freetype флаг infinality, затем с помощью eselect fontconfig выберите настройки шрифтов:

Показать
text

gentoo-laptop / # eselect fontconfig list
Available fontconfig .conf files (* is enabled):
  [1]   09-texlive.conf
  [2]   10-autohint.conf
  [3]   10-no-sub-pixel.conf
  [4]   10-sub-pixel-bgr.conf
  [5]   10-sub-pixel-rgb.conf *
  [6]   10-sub-pixel-vbgr.conf
  [7]   10-sub-pixel-vrgb.conf
  [8]   10-unhinted.conf
  [9]   11-lcdfilter-default.conf *
  [10]  11-lcdfilter-legacy.conf
  [11]  11-lcdfilter-light.conf
  [12]  20-fix-globaladvance.conf *
  [13]  20-unhint-small-dejavu-sans.conf
  [14]  20-unhint-small-dejavu-sans-mono.conf
  [15]  20-unhint-small-dejavu-serif.conf
  [16]  20-unhint-small-vera.conf *
  [17]  25-unhint-nonlatin.conf
  [18]  30-metric-aliases.conf *
  [19]  30-urw-aliases.conf *
  [20]  40-nonlatin.conf *
  [21]  45-latin.conf *
  [22]  49-sansserif.conf *
  [23]  50-user.conf *
  [24]  51-local.conf *
  [25]  52-infinality.conf *
  [26]  57-dejavu-sans.conf *
  [27]  57-dejavu-sans-mono.conf *
  [28]  57-dejavu-serif.conf *
  [29]  59-google-droid-sans.conf *
  [30]  59-google-droid-sans-mono.conf *
  [31]  59-google-droid-serif.conf *
  [32]  60-latin.conf *
  [33]  60-liberation.conf *
  [34]  62-croscore-arimo.conf *
  [35]  62-croscore-cousine.conf *
  [36]  62-croscore-symbolneu.conf *
  [37]  62-croscore-tinos.conf *
  [38]  65-fonts-persian.conf *
  [39]  65-khmer.conf
  [40]  65-nonlatin.conf *
  [41]  69-unifont.conf *
  [42]  70-no-bitmaps.conf *
  [43]  70-yes-bitmaps.conf
  [44]  80-delicious.conf *
  [45]  90-synthetic.conf *
  [46]  99pdftoopvp.conf *

Ну и в ~/.Xresources или ~/.Xdefaults:

text

Xft.antialias:  1
Xft.autohint:   0  
Xft.dpi:        96  
Xft.hinting:    1  
Xft.hintstyle:  hintfull  
Xft.lcdfilter:  lcddefault  
Xft.rgba:       rgb
#284322

Да помогло. Не знал, что стало уже проще.

#285470

Кто пробовал infinality. Какие комбинации, на ваш взгляд, eselect lcdfilter\infinality лучше остальных.
Я пробую разные варианты, глаз замылился. Не могу выбрать

#285477
Lupo Alberto написал:
[quote="vux"] Какие комбинации, на ваш взгляд, eselect lcdfilter\infinality лучше остальных.

Если только на мой взгляд, то так — Шрифты, разобраться раз и на всегда[/quote]

eselect lcdfilter\infinality - у вас не указано, а там всякие ебунты, линуксы, винды, осх и т.д. В сети читал что нужно эеспериментировать

#285487
"vux" написал:
eselect lcdfilter\infinality - у вас не указано, а там всякие ебунты, линуксы, винды, осх и т.д.

[console]
gentoo-laptop ~ # eselect fontconfig list | grep 'lcdfilter|infinality'
[9] 11-lcdfilter-default.conf *
[10] 11-lcdfilter-legacy.conf
[11] 11-lcdfilter-light.conf
[25] 52-infinality.conf *
[/console]
[console]
gentoo-laptop ~ # eselect infinality list
Available styles:
[1] debug
[2] infinality
[3] linux
[4] nyx *
[5] osx
[6] osx2
[7] win7
[8] win98
[9] winxp
[/console]

#285492

а что в eselect lcdfilter list ?

#285494
vux написал:
а что в eselect lcdfilter list ?
"eselect lcdfilter list"

[console]
Available styles:
[1] custom
[2] default
[3] infinality
[4] infinality-classic
[5] infinality-nudge
[6] infinality-push
[7] infinality-sharpened
[8] infinality-shove
[9] linux
[10] nyx *
[11] osx
[12] ubuntu
[13] vanilla
[14] windows-7
[15] windows-7-light
[16] windows-xp
[17] windows-xp-light
[/console]
#285497

пасиба попробую

#285501

eselect fontconfig list

Показать
[1] 10-autohint.conf
[2] 10-no-sub-pixel.conf
[3] 10-sub-pixel-bgr.conf
[4] 10-sub-pixel-rgb.conf *
[5] 10-sub-pixel-vbgr.conf
[6] 10-sub-pixel-vrgb.conf
[7] 10-unhinted.conf
[8] 11-lcdfilter-default.conf *
[9] 11-lcdfilter-legacy.conf
[10] 11-lcdfilter-light.conf
[11] 20-fix-globaladvance.conf *
[12] 20-unhint-small-vera.conf *
[13] 25-unhint-nonlatin.conf
[14] 30-metric-aliases.conf *
[15] 30-urw-aliases.conf *
[16] 40-nonlatin.conf *
[17] 45-latin.conf
[18] 49-sansserif.conf *
[19] 50-user.conf *
[20] 51-local.conf *
[21] 52-infinality.conf *
[22] 59-google-droid-sans-mono.conf *
[23] 59-google-droid-sans.conf *
[24] 59-google-droid-serif.conf *
[25] 60-latin.conf *
[26] 60-liberation.conf *
[27] 62-croscore-arimo.conf *
[28] 62-croscore-cousine.conf *
[29] 62-croscore-symbolneu.conf *
[30] 62-croscore-tinos.conf *
[31] 65-fonts-persian.conf *
[32] 65-khmer.conf
[33] 65-nonlatin.conf *
[34] 69-unifont.conf *
[35] 70-no-bitmaps.conf
[36] 70-yes-bitmaps.conf *
[37] 80-delicious.conf *
[38] 90-synthetic.conf *

В infinality\lcdfilter выставил nyx

Почему так угрьобищно выглядит жирный шрифт?



обычные вроде нормально.

#285505

Вопрос снимаеться. В фаерфоксе поковырялся - стало нормально

#285537
"vux" написал:
select lcdfilter\infinality - у вас не указано, а там всякие ебунты, линуксы, винды, осх и т.д. В сети читал что нужно эеспериментировать

+1.
Ставил на федору в ВМ, больше всего понравился дефолт и Windows 7. И linux ещё, емнип, довольно прилично выглядел.
nyx-а только у меня не было, за него не могу ничего сказать.

#285541

вин7 у меня лучше всего сейчас ) -давно ждал этого в дженту

#285543
"vux" написал:
вин7 у меня лучше всего сейчас )

Покажите, пожалуйста, а то мне и сравнить не с чем. Говорю без всякого сарказма.
P.S. Или вы подразумеваете настройки infinality?

Войдите или зарегистрируйтесь, чтобы ответить.