You are not logged in.
Hello everyone.
I have a small "aesthetic" issue with both of these patched fonts. Cleartype looks really dodgy and ubuntu fonts look huge. What I'm actually looking for is for exactly the same emulation of msfonts windows7 cleartype on my machine or ubuntu fonts but really smaller than the one's I'm getting.
Any suggestions?
Offline
Infinality would be a good bet. It has multiple font rendering style built in.
install freetype2-infinality, fontconfig-infinality, and libxft-lcd from the aur (I'd also recommend installing the MS and Win7 fonts)
Then:
cd /etc/fonts/infinality ./infctl.sh setstyle win7 And then edit this file:
/etc/profile.d/infinality-settings.shAnd change the line
USE_STYLE="DEFAULT"to
USE_STYLE="WINDOWS"Then of course log out or reboot.
This should give you very sharp rendering close to windows 7 + cleartype.
Personally I do prefer the fat ubuntu rendering though
I switched back to the ubuntu patches because of a few issues I had with infinality. Namely google chrome just has weird rendering with it due to some skia bugs, and firefox won't use anything besides full hinting (not a problem if you want win7 style rendering though, as you will want full hinting). Besides that infinality worked great.
Last edited by bwat47 (2012-01-26 17:48:51)
Offline
That's the first time ever I hear someone ask for font rendering the way it is done in windows. The first thing that strikes me over and over again is the lack of proper font rendering in windows. Cleartype makes every font fuzzy as hell...
Maybe you should look at the settings of your dpi (which might affect your experience with font rendering in linux).
Offline
That's the first time ever I hear someone ask for font rendering the way it is done in windows. The first thing that strikes me over and over again is the lack of proper font rendering in windows. Cleartype makes every font fuzzy as hell...
Maybe you should look at the settings of your dpi (which might affect your experience with font rendering in linux).
Font rendering is quite subjective, and many do like the windows rendering ![]()
I'd take windows style rendering over the default any day, but these days I actually prefer ubuntu's.
Offline
zenlord wrote:That's the first time ever I hear someone ask for font rendering the way it is done in windows. The first thing that strikes me over and over again is the lack of proper font rendering in windows. Cleartype makes every font fuzzy as hell...
Maybe you should look at the settings of your dpi (which might affect your experience with font rendering in linux).
Font rendering is quite subjective, and many do like the windows rendering
I'd take windows style rendering over the default any day, but these days I actually prefer ubuntu's.
I wouldn't mind going with Ubuntu fonts, they look great and yes I'm facing the same issues on chrome using cleartype.. I'm just wondering if there is any way to make ubuntu fonts look smaller..
Offline
bwat47 wrote:zenlord wrote:That's the first time ever I hear someone ask for font rendering the way it is done in windows. The first thing that strikes me over and over again is the lack of proper font rendering in windows. Cleartype makes every font fuzzy as hell...
Maybe you should look at the settings of your dpi (which might affect your experience with font rendering in linux).
Font rendering is quite subjective, and many do like the windows rendering
I'd take windows style rendering over the default any day, but these days I actually prefer ubuntu's.
I wouldn't mind going with Ubuntu fonts, they look great and yes I'm facing the same issues on chrome using cleartype.. I'm just wondering if there is any way to make ubuntu fonts look smaller..
You could try just switching to full hinting which should make the fonts less "fat". If you want to replicate windows rendering though infinality comes the closest.
Last edited by bwat47 (2012-01-26 17:53:45)
Offline
no offence to anyone here.But mangling with fonts settings is a nice way to waste time.But feel free to experiment anything you want.
my 2 cents:
Install infinality from AUR and choose the preferred font settings.(OSX,win7,infinality etc).Its way better than you can possibly come up with mangling font settings.
Offline
binarydrummer wrote:bwat47 wrote:Font rendering is quite subjective, and many do like the windows rendering
I'd take windows style rendering over the default any day, but these days I actually prefer ubuntu's.
I wouldn't mind going with Ubuntu fonts, they look great and yes I'm facing the same issues on chrome using cleartype.. I'm just wondering if there is any way to make ubuntu fonts look smaller..
You could try just switching to full hinting which should make the fonts less "fat". If you want to replicate windows rendering though infinality comes the closest.
This is exactly what I'd like to achieve. Small ms-like type/fonts.

Offline
@binarydrummer read this. Any mod could remove your image, anytime soon.
Offline
Infinality is pretty bad, or is it just me? the way that fonts are rendered in chromium are horrid.. If I change back to Ubuntu fonts, is there any way to make them look at least smaller?
Offline
Infinality is pretty bad, or is it just me?
Probably just you. You weren't using its default settings,
were you?
binarydrummer wrote:Infinality is pretty bad, or is it just me?
Probably just you. You weren't using its default settings,
were you?
Font spacing is pretty bad. I'm using setstyle debug, USE_STYLE="CLASSIC". Would also like to get smaller system fonts, but this is not possible so far.. Windows looks way more smaller and consistent.
Offline
Font spacing is pretty bad.
No, the spacing in Infinality is better than in Ubuntu. Although it's adjustable. I'm using:
export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH=25
export INFINALITY_FT_STEM_FITTING_STRENGTH=25
export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE=40Maybe your DPI setting is wrong. Google it, it's been discussed many times.
Would also like to get smaller system fonts, but this is not possible so far.
Not possible? I doubt that. You're not providing enough info.
Offline
binarydrummer wrote:Font spacing is pretty bad.
No, the spacing in Infinality is better than in Ubuntu. Although it's adjustable. I'm using:
export INFINALITY_FT_STEM_ALIGNMENT_STRENGTH=25 export INFINALITY_FT_STEM_FITTING_STRENGTH=25 export INFINALITY_FT_STEM_SNAPPING_SLIDING_SCALE=40Maybe your DPI setting is wrong. Google it, it's been discussed many times.
Would also like to get smaller system fonts, but this is not possible so far.
Not possible? I doubt that. You're not providing enough info.
I'm using Openbox, installed infinality, however the ubuntu lcd patched fonts worked fine right away.. What sort of configuration do I have to change? tbh, the best fonts for me are really small ones.. I'm on a 19" 1280 x 1024 screen.
Offline
I am using Infinality and have very good fonts in Arch. I recently had to update Infinality for it to work correctly. The latest update was on 12/23/2011.
Take a look in /etc/profile.d/infinality-settings.sh There are a number of settings that can be changed. The following is one that caught my eye just now. I was surprised that it was set to 0, but I am happy with the results.
##################################################################
# INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH
#
# This enables an algorithm found in ChromeOS for sharpening the
# appearance of glyphs. It is based off this patch:
#
# http://codereview.chromium.org/3298011/diff/9001/media-libs/freetype/files/freetype-2.3.11-lcd-sharpen.patches
#
# It gives glyphs a more "grainy" look, more similar to Windows.
# This effect will apply to any glyph being rendered using the LCD filter.
#
# Possible values:
# 0 through 100 - think of as percentage of strength
#
# 0 corresponds to no sharpening whatsoever. In other words, OFF.
#
# 25 is good for a subtle effect.
#
# 50 corresponds to the default ChromeOS value.
#
# 100 corresponds to maximum sharpening. This usually results in
# something undesirable looking.
#
# As you increase this amount, it is good to decrease the gamma (2nd value)
# of INFINALITY_FT_PSEUDO_GAMMA, and possibly increase
# INFINALITY_FT_STEM_FITTING_STRENGTH and
# INFINALITY_FT_STEM_ALIGNMENT_STRENGTH, as it seems like the algorithm
# lightens stems that aren't fully on-pixel.
#
# Default: 0
# Recommended: 50
export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH=0Offline
I am using Infinality and have very good fonts in Arch. I recently had to update Infinality for it to work correctly. The latest update was on 12/23/2011.
Take a look in /etc/profile.d/infinality-settings.sh There are a number of settings that can be changed. The following is one that caught my eye just now. I was surprised that it was set to 0, but I am happy with the results.
################################################################## # INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH # # This enables an algorithm found in ChromeOS for sharpening the # appearance of glyphs. It is based off this patch: # # http://codereview.chromium.org/3298011/diff/9001/media-libs/freetype/files/freetype-2.3.11-lcd-sharpen.patches # # It gives glyphs a more "grainy" look, more similar to Windows. # This effect will apply to any glyph being rendered using the LCD filter. # # Possible values: # 0 through 100 - think of as percentage of strength # # 0 corresponds to no sharpening whatsoever. In other words, OFF. # # 25 is good for a subtle effect. # # 50 corresponds to the default ChromeOS value. # # 100 corresponds to maximum sharpening. This usually results in # something undesirable looking. # # As you increase this amount, it is good to decrease the gamma (2nd value) # of INFINALITY_FT_PSEUDO_GAMMA, and possibly increase # INFINALITY_FT_STEM_FITTING_STRENGTH and # INFINALITY_FT_STEM_ALIGNMENT_STRENGTH, as it seems like the algorithm # lightens stems that aren't fully on-pixel. # # Default: 0 # Recommended: 50 export INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH=0
Can you post a screenie or a link of how your fonts look? I have tried several combinations and different fonts, I am actually looking for some really small fonts, the same way they appear on xterm. On chromium they look really big and dodgy though.
Offline
I do not use Chromium, but AFAIK Chromium uses xft fonts. Try adding this to /home/~/.Xresources Probably need to logout/login for changes to take effect.
Xft.autohint: 0
Xft.lcdfilter: lcddefault
Xft.hintstyle: hintfull
Xft.hinting: 1
Xft.antialias: 1
Xft.dpi: 96
Xft.rgba: rgbI have a 64-bit install, but also installed multilib/lib32-libxft 2.3.0-1 on my system.
I also have libxft-lcd 2.2.0-1 installed, but it is no longer available. Supposedly it is not needed anymore. See post dated 03-10-2012, 09:59 PM in the following link: http://www.linux-archive.org/archlinux- … st-44.html
EDIT: You can experiment with different settings in the above file: .Xresources. Try hintfull, hintmedium, and hintslight to see which setting works best for you.
Last edited by David Batson (2012-03-16 15:39:13)
Offline
Looking at this, I see that you need to update the "X resources database" with the following command:
xrdb -merge ~/.XresourcesOffline
XTERM?!
You're shooting yourself in the foot, if you want pretty fonts. Use a non-ancient terminal which uses cairo & fontconfig, rather than libXft.
Check your DPI setting:
$ xdpyinfo | grep -B1 dot
dimensions: 1920x1080 pixels (372x231 millimeters)
resolution: 131x119 dots per inchThen note that ~/.Xresources can only specify one number to be used for both axes, and realize how limiting that is.
Do you actually want sub-pixel rendering, or just a small bitmap font?
Offline
XTERM?!
You're shooting yourself in the foot, if you want pretty fonts. Use a non-ancient terminal which uses cairo & fontconfig, rather than libXft.
Check your DPI setting:
$ xdpyinfo | grep -B1 dot dimensions: 1920x1080 pixels (372x231 millimeters) resolution: 131x119 dots per inchThen note that ~/.Xresources can only specify one number to be used for both axes, and realize how limiting that is.
Do you actually want sub-pixel rendering, or just a small bitmap font?
No matter what font I've tried, I have never liked modern font rendering in a terminal. I use Terminus(non-ttf) because I find it easier to read at semi-small font sizes.
Offline
I've just had a go on Xubuntu and the fonts are absolutely brilliant. I think that's exactly what I want. Can I get exactly the same config on Arch? For some reason Infinality just doesn't get it right for me. Or there must be some issues or additional configuration with Openbox.. Would Installing Xfce and the Ubuntu LCD Patched fonts do the trick?
Offline
Can I get exactly the same config on Arch?
Sure. Also copy across Ubuntu's /etc/fonts/ tree, which is the fontconfig rules.
Offline
binarydrummer wrote:Can I get exactly the same config on Arch?
Sure. Also copy across Ubuntu's /etc/fonts/ tree, which is the fontconfig rules.
Actually it's Xubuntu and it seems to be slightly different from Ubuntu. All I need to do is copy the /etc/fonts from a Xubuntu disc over to my Arch system? Also Xubuntu seems to be quite drastically different from a clean Xfce system. I was wondering what are the exact steps to have an exact replica of settings over to a clean Xfce Arch system.
Offline
I'm using Infinality with (I think) the default settings. This did seem to help things but code in the Arch wiki now looks awful.
I'm not quite sure about the interaction between the files in /etc/fonts/conf.d and the Infinality config. As I understand it, lower numbered files in the former have priority which means that everything less than 52- trumpts Infinality's config?
10-cfr-antialias.conf@ 20-unhint-small-vera.conf@ 51-local.conf@ 69-unifont.conf@
10-cfr-bcihint.conf@ 29-replace-bitmap-fonts.conf@ 52-infinality.conf@ 70-no-bitmaps.conf@
10-cfr-lcdfilter-default.conf@ 30-metric-aliases.conf@ 57-dejavu-sans-mono.conf@ 80-delicious.conf@
10-sub-pixel-rgb.conf@ 30-urw-aliases.conf@ 57-dejavu-sans.conf@ 90-synthetic.conf@
20-fix-globaladvance.conf@ 40-nonlatin.conf@ 57-dejavu-serif.conf@ README
20-unhint-small-dejavu-sans-mono.conf@ 45-latin.conf@ 60-latin.conf@
20-unhint-small-dejavu-sans.conf@ 49-sansserif.conf@ 65-fonts-persian.conf@
20-unhint-small-dejavu-serif.conf@ 50-user.conf@ 65-nonlatin.conf@Also, I installed three additional custom config files here in my attempt to follow the Arch wiki but I'm not sure whether I should still have them there with Infinality in the mix. These are all numbered 10- and essentially: enable anti-aliasing; full hinting (I have a note saying this is recommended with the BCI); set lcdfilter to lcddefault. But then I'm not sure what the Infinality settings are doing in this case... Should these more specific tweaks suggested by the wiki be disabled if using Infinality? Or at least the tweaks for anti-aliasing and full hinting? Are these overriding any fonts specific settings given in the higher numbered config files? Or do those take precedence over default settings regardless of place in the configuration file hierarchy?
Last edited by cfr (2012-03-18 21:39:13)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline