Linux font rendering

>linux font rendering

Attached: x8DVcJO.jpg (1280x800, 204K)

Other urls found in this thread:

github.com/bohoomil/fontconfig-ultimate/issues/191#issuecomment-289799221
developer.gnome.org/gtk3/unstable/GtkSettings.html#GtkSettings--gtk-xft-dpi
twitter.com/SFWRedditGifs

Those digits deserved a better thread.

Nice jpeg artifacts you fucking ape.

times new roman is the best font to ever exist

You can't save a shitty quality jpg of a cherrypicked desktop with a horrific font choice and say all linux font rendering sucks.

Attached: Screenshot-2018-4-15 Tokyo - Wikipedia-or81.png (1191x534, 54K)

Attached: 1355739283325.jpg (1100x1380, 237K)

I can. I already did it.

Fuck you, Satan.

>proprietary font
>best

>your ip or ip range is blocked from using Jow Forums

oh it went away. huh.

got that same bug a couple days back

Mine is perfectly fine. Manjaro, out of box

Attached: Screenshot_20180416_132434.png (1649x410, 140K)

how did you do that?

github.com/bohoomil/fontconfig-ultimate/issues/191#issuecomment-289799221
told sans to use liberation

i can zoom too

Zooming doesn't count you fuck

Attached: 1505312496989.png (1198x364, 123K)

>jpg
You went full retard, never go full retard.

Aguante el verano, puto de mierda

never quote me or my wife's son ever again

Attached: 1511437201880s.jpg (125x125, 2K)

What's wrong with it? I'd have smaller text if my eyes could see it.

not saying it doesn't exist but what should I be seeing?

>posts his desktop, which consists of entirely vector graphics
>the purpose of the image is to criticize linux font rendering
>the image is a highly compressed jpg
you sir, are a dumbass
>and the fonts still look fine

this tends to happen to me fairly often. i also randomly find im banned for all sorts of random shit, on boards ive never been to, and sometimes for highly illegal things

this happens when i am using my phone. its a dynamic ip. i switch the network i am connected to to get around it; usually works

what DE is that? looks comfy

plx r8

Attached: 2018-04-16-004423_494x469_scrot.png (494x469, 66K)

looks like thunar and mousepad so xfce
but lxde with arc-dark and breeze-dark is better

remove the zoom fucking idiot

Doesn't the way fonts look depend on the screen you are viewing them on?

Let's say that my fonts look amazing on my 210PPI RGB screen. Won't they look like shit when viewed on a different monitor?

Attached: 2018-04-16-11:51:33-screenshot.png (1254x694, 154K)

Looks like Cinnamon to me

I don't like wide spacing look. It makes the reading slower by far.

die

Attached: Screenshot_2018-04-16_07-52-59.png (628x832, 134K)

Attached: 2018-04-16-005424_518x408_scrot.png (518x408, 62K)

It was perfectly fine until they discovered anti-aliasing and then never learned about subpixel rendering.

Based, handwritten fonts has more love in it, than in serif ones.

Attached: Screenshot_2018-04-16_08-06-08.png (730x583, 194K)

no u

>never learned about subpixel rendering.
Elaborate, please, why would I need it.

Attached: 2018-04-16-12:27:55-screenshot.png (1255x694, 93K)

maeks things less blurry

Your picture is a pretty good example of why you'd need it. It'd make that text sharp without you having to get a higher resolution monitor.

I wouldn't say that there is much of a difference (GIMP seems to agree when viewed in difference mode).

I've read that as you come closer to 300 PPI, the less you need it.

I don't really see the difference on my 210PPI, to tell the truth.

Attached: 2018-04-16-12:34:07-screenshot.png (1255x694, 101K)

I don't know, maybe I'm wrong.
I'll try changing them and see which one I like more.

Attached: difference.png (1255x694, 89K)

On my monitor the difference is substantial but yeah, probably not that bad at that PPI with those specific colors. Seems to make the biggest difference with black on white.

Windows 10

Attached: firefox_2018-04-16_10-39-46.png (2437x631, 171K)

>on my 210PPI
how many inches?

How's mine?

Attached: Screenshot from 2018-04-16 18-44-25.png (3840x2160, 2.37M)

I just recently installed my first Linux after escaping from Windows. (fuck off stallman)
I don't know but what qualifies as good font rendering? Also is it related to the font itself or there are actually programs that I need to modify the font rendering?

Attached: 2018-04-16-164226_1366x768_scrot.png (1366x768, 462K)

10/10

>is it related to the font itself or there are
font.conf which tells fontconfig / freetype when what font to use
just installing fonts or putting font.ttf in your .local/share/fonts/ wont put it in use in your browser which usually expects sans/serif aliases/substitutions

More like smaller SEX if your eyes could see IT rofl I'm such a meme lord

How do I force chromium/Firefox to respect my fontconfig? They ignore PPI set in there and since they are GTK3, I can't do that properly through normal means since they scale the hell out of UI.

13-14.
What would be the downsides of subpixel rendering?

High DPI/10

>to respect my fontconfig
ff does
chromium doesn't because of it's sandboxing
something in about:config most likely

Is better than windows font rendering for some reason (at leat in intellij)

>What would be the downsides of subpixel rendering?
On a lot older monitors the pixels were so large you could actually see the subpixel colors individually. Not sure about Linux but on Windows some programs don't respect the system setting so they just won't have it or will implement it slightly differently (Chrome used to be slightly nonstandard, not sure if they fixed it). Also you could have the color channel order be incorrect and then it'd just look like shit, pic related.

Attached: 1522874734823.png (1017x768, 1.52M)

I already changed the fonts. As on the screenshot, I am currently using IBM Plex.

iirc downside is possible redness around letters [this may vary on different monitors] and the famous green tint in gimp

>because of it is

i don't know what ibm plex is or does sorry

>ff does
Are you sure? After setting DPI of 210 in fontconfig optimal font size is 6. Firefox still uses 13 for the same actual size. This leads me to believe that it ignores my fontconfig.

Thanks. I thought it inevitably led to the rainbow effect on fonts.

>Famous green tint
I'm curious. Gonna Google that.

o also I think it shits the bed on phones and monitors that are frequently rotated since rotating fucks the color channel order

My nigga.

Attached: Screenshot_2018-04-16_09-15-18.png (1040x762, 397K)

y im sure
you gotta about config something like i told ya

Fedora mustard race reporting in

Attached: kek.png (774x600, 1.78M)

Is there any way to force GTK+3 applications to not scale UI ONLY at large DPI?

All the settings I've tried scale the fonts too.

What font is this my bro

macOS, get fucked faggots

Attached: Screen Shot 2018-04-16 at 12.54.14.png (3426x1884, 1.69M)

>What would be the downsides of subpixel rendering?
It's a problem if you use multiple monitors of a different type. Not a common problem these days. Some were using a CRT and a LCD when resolutions were lower and subpixel rendering was a lot more useful (doesn't really matter at 1440p or 4k but it really helps at say 1024x768). It's also a problem if you use multiple monitors where one has a different orientation because most OS's, Linux for sure doesn't have any per-monitor setting for sub-pixel rendering.

Phones could handle sub-pixel rendering, it's just one screen and it detects when it's rotated so it could just change from RGB to V-RGB or V-BGR when it's rotated. It's a problem for computer monitors, though.

font rendering should be irrelevant at that resolution, but astoundingly yours looks like bad, blurry shit anyway.

truly amazing, so this is the power of apple...

Too bold.

Attached: chrome_2018-03-26_21-46-40.png (5120x2880, 2.09M)

>3426x1884
have you never seen android

Attached: 2018-04-16-12:14:29.png (1014x579, 302K)

doesn't matter if its jpeg or not font rendering is clearly shit and you can see it. And 99% of the fonts look like shit, it's not just this one.

they all look the same to me :|

whats a good system wide font? just installed elementaryOS and i'm not digging the fonts.

I think it's highly individual waht's good font setting and what is not.

I change font settings on my Kobo reader when I'm tired vs. when I'm not tired.

Here's what I mean:
LHS: everything is in standard 96DPI and looks correctly.
Middle: I've set the correct Monitor dimensions in the X11 config. Now `xdpyinfo` shows correct 211 DPI. As you can see, the font in titlebars is suddenly tiny. Same is with all the submenues. Font in the browser is the same as before.
RHS: I've set DPI in .Xresources. Now the sizes in headers are correct, but Chromium has giant GUI elements. That said, Chromium now seems to recognize DPI for fonts on the page, but Firefox does not.

I'd like either for Chrome to have smaller GUI or for Firefox to render fonts bigger.

Attached: GTK3_DPI.png (3784x1406, 625K)

how bad is it?

Attached: 2018-04-16-124131_1456x595_scrot.png (1456x595, 143K)

Dude can't you just change the Firefox font size from settings?
Also what font is that,
and desktop theme :DD

I've missed that LibreOffice now has giant ugly icons too. Is there a way to fix this?

As can be seen with GIMP, GTK+2 works the way I want and GTK+3 does all kinds of weird shit.

scrot -cz -d 5 -q 1
pngquant -s 10 --nofs


>X11 config
don't

export GDK_SCALE=2


is all you need to do

>Dude can't you just change the Firefox font size from settings?
No matter the DPI, it uses 16pt for what you see. With 211DPI it should be around 6pt. Point is, the fonts render very differently on those settings.

Font in browser is "Fira Sans" and in UI it is "IBM Plex".

Theme is "Adapta"

>export GDK_SCALE=2
This scales the UI. My point is I want to scale fonts but leave the UI as is.

>for FF
about config

>for gtk
fontconfig, like

cat .config/fontconfig/fonts.conf



72

Linux is a kernel. It does not render fonts.

what's your monitor exactly

my god that is disgusting

Here's an example of different rendering:
Top is 211DPI in fontconfig
Middle is 96DPI in fontconfig
Bottom is their difference

>about config
Haven't found it there
>fontconfig
Here's what I have:
```




211


```
This does not seem to affect the GTK+ font size at all.

1440p panel from the Thinkpad X1 Carbon 4th Gen, why?

Attached: difference_211_96.png (1256x2082, 380K)

Wait, does it have to be in `.config/fontconfig/fonts.conf`?
Mine's in the `/etc/fonts/local.conf`

see arch wiki on hidpi

>have to
no, but no need for sudo either
idk what you use but you could have a look in /etc/fonts/conf.d/50-user.conf or similar

>2437x631

Attached: 1462060507676.jpg (483x807, 64K)

>see arch wiki on hidpi
I did. If I force chromium to use device scaling, it basically falls back to the 96 settings.

>idk what you use but you could have a look in /etc/fonts/conf.d/50-user.conf or similar
It's defined in user.conf and works in terminal, conky, rofi and so on.
Problem is all the GTK apps ignore it and render at the default size.

I can set it with Xft.dpi for GTK+2 and it works great, but many apps are GTK+3 and have the problems from I also tried to set GDK_SCALE and GDK_DPI_SCALE at the same time, but results were terrible.

I wish I could still use GTK+2 only.

there is
developer.gnome.org/gtk3/unstable/GtkSettings.html#GtkSettings--gtk-xft-dpi
but it doesn't seem to do anything [outside of gnome]

>This does not seem to affect the GTK+ font size at all.
seems so, it affects things like dmenu and has a minor but very important effect in firefox

so you just want bigger fonts?
use bigger fonts

>so you just want bigger fonts?
I want my fonts to render correctly.
Look at this picture. Last line of the middle terminal. In the word "Illud" the letter "I" is smaller than "l", And all the fonts are stretched vertically. That's unacceptable.

I'm using the font size as an immediate indication whether the DPI has changed. Larger DPI -> bigger fonts, holding their "size" constant.

I'll try the GNOME one, thanks.

>all the fonts are stretched vertically. That's unacceptable.
could it be your font config aliases, if you even have such?

is something actualy humorous or are you just retarded?

Courgette

Only the default ones. How would aliases result in incorrect font dimensions?

I'm not sure it's aliases.

For example, there is the font called "Iosevka", that is supposed to be thin and tall. There the situation is reversed. If I set (incorrect) 96DPI, it will be squashed. And if I set (native) 221DPI, it would be properly elongated.

That's why I think default DPI results in incorrect rendering and want to set proper one to everything.

idk but you could maybe set rules for what you want in your /conf.d/
see that github link above