[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vr / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / asp / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / qst / sci / soc / sp / tg / toy / trv / tv / vp / wsg / wsr / x] [Settings] [Search] [Home]
Board
Settings Home
/g/ - Technology



Thread archived.
You cannot reply anymore.



File: x8DVcJO.jpg (204 KB, 1280x800)
204 KB
204 KB JPG
>linux font rendering
>>
>>65558555
Those digits deserved a better thread.
>>
>>65558555
Nice jpeg artifacts you fucking ape.
>>
times new roman is the best font to ever exist
>>
>>65558555
You can't save a shitty quality jpg of a cherrypicked desktop with a horrific font choice and say all linux font rendering sucks.
>>
>>65558555
>>
File: 1355739283325.jpg (237 KB, 1100x1380)
237 KB
237 KB JPG
>>65558555
>>65558644
>>65558666
>>
>>65558678
I can. I already did it.
>>
>>65558666
Fuck you, Satan.
>>
>>65558666
>proprietary font
>best
>>
>>65558555
>your ip or ip range is blocked from using 4chan
>>
>>65558753
oh it went away. huh.
>>
>>65558760
got that same bug a couple days back
>>
>>65558691
Mine is perfectly fine. Manjaro, out of box
>>
>>65558691
how did you do that?
>>
>>65558784
https://github.com/bohoomil/fontconfig-ultimate/issues/191#issuecomment-289799221
told sans to use liberation
>>
>>65558782
i can zoom too
>>
>>65558782
Zooming doesn't count you fuck
>>
File: 1505312496989.png (123 KB, 1198x364)
123 KB
123 KB PNG
>>65558691
>>
>>65558555
>jpg
You went full retard, never go full retard.
>>
>>65558555
Aguante el verano, puto de mierda
>>
File: 1511437201880s.jpg (2 KB, 125x125)
2 KB
2 KB JPG
>>65559607
never quote me or my wife's son ever again
>>
>>65559673
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?
>>
>>65558555
>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
>>
>>65558753
>>65558760
>>65558781
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
>>
>>65558555
what DE is that? looks comfy
>>
plx r8
>>
>>65559802
looks like thunar and mousepad so xfce
but lxde with arc-dark and breeze-dark is better
>>
>>65559807
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?
>>
>>65559802
Looks like Cinnamon to me
>>
I don't like wide spacing look. It makes the reading slower by far.
>>
>>65559673
die
>>
>>65559833
>>
>>65558555
It was perfectly fine until they discovered anti-aliasing and then never learned about subpixel rendering.
>>
>>65559866
Based, handwritten fonts has more love in it, than in serif ones.
>>
>>65559866
no u
>>
>>65560022
>never learned about subpixel rendering.
Elaborate, please, why would I need it.
>>
>>65560082
maeks things less blurry
>>
>>65560082
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.
>>
>>65560087
>>65560093
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.
>>
File: difference.png (89 KB, 1255x694)
89 KB
89 KB PNG
>>65560154
I don't know, maybe I'm wrong.
I'll try changing them and see which one I like more.
>>
>>65560154
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.
>>
>>65558691

Windows 10
>>
>>65560154
>on my 210PPI
how many inches?
>>
How's mine?
>>
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?
>>
>>65560199
10/10
>>
>>65560208
>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
>>
>>65559690
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.

>>65560181
13-14.
>>65560168
What would be the downsides of subpixel rendering?
>>
>>65560199
High DPI/10
>>
>>65560262
>to respect my fontconfig
ff does
chromium doesn't because of it's sandboxing
something in about:config most likely
>>
>>65558555
Is better than windows font rendering for some reason (at leat in intellij)
>>
File: 1522874734823.png (1.52 MB, 1017x768)
1.52 MB
1.52 MB PNG
>>65560262
>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.
>>
>>65560245
I already changed the fonts. As on the screenshot, I am currently using IBM Plex.
>>
>>65560262
iirc downside is possible redness around letters [this may vary on different monitors] and the famous green tint in gimp
>>
>>65560275
>because of it is
>>
>>65560308
i don't know what ibm plex is or does sorry
>>
>>65560275
>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.

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

>>65560315
>Famous green tint
I'm curious. Gonna Google that.
>>
>>65560286
o also I think it shits the bed on phones and monitors that are frequently rotated since rotating fucks the color channel order
>>
>>65560032
My nigga.
>>
>>65560390
y im sure
you gotta about config something like i told ya
>>
File: kek.png (1.78 MB, 774x600)
1.78 MB
1.78 MB PNG
>>65558555
Fedora mustard race reporting in
>>
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.
>>
>>65560420
What font is this my bro
>>
macOS, get fucked faggots
>>
>>65560262
>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.

>>65560401
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.
>>
>>65560655
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...
>>
>>65560655
Too bold.
>>
>>65560655
>3426x1884
have you never seen android
>>
File: 2018-04-16-12:14:29.png (302 KB, 1014x579)
302 KB
302 KB PNG
>>65558691
>>
>>65558678
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.
>>
File: GTK3_DPI.png (625 KB, 3784x1406)
625 KB
625 KB PNG
>>65560629
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.
>>
how bad is it?
>>
>>65560996
Dude can't you just change the Firefox font size from settings?
Also what font is that,
and desktop theme :DD
>>
>>65560996
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.
>>
>>65560804

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


>>65560996
>X11 config
don't

export GDK_SCALE=2


is all you need to do
>>
>>65561011
>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"
>>
>>65561019
>export GDK_SCALE=2
This scales the UI. My point is I want to scale fonts but leave the UI as is.
>>
>>65561040
>for FF
about config

>for gtk
fontconfig, like

cat .config/fontconfig/fonts.conf
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="pattern">
<edit name="dpi" mode="assign">
<double>72</double>
</edit>
</match>
</fontconfig>
>>
>>65558555
Linux is a kernel. It does not render fonts.
>>
>>65561040
what's your monitor exactly
>>
>>65560420
>>65560032
my god that is disgusting
>>
File: difference_211_96.png (380 KB, 1256x2082)
380 KB
380 KB PNG
>>65561034
Here's an example of different rendering:
Top is 211DPI in fontconfig
Middle is 96DPI in fontconfig
Bottom is their difference

>>65561067
>about config
Haven't found it there
>fontconfig
Here's what I have:
```
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<match target="pattern">
<edit name="dpi" mode="assign"><double>211</double></edit>
</match>
</fontconfig>
```
This does not seem to affect the GTK+ font size at all.

>>65561090
1440p panel from the Thinkpad X1 Carbon 4th Gen, why?
>>
>>65561067
Wait, does it have to be in `.config/fontconfig/fonts.conf`?
Mine's in the `/etc/fonts/local.conf`
>>
>>65561166
see arch wiki on hidpi

>>65561171
>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
>>
File: 1462060507676.jpg (64 KB, 483x807)
64 KB
64 KB JPG
>>65560176
>2437x631
>>
>>65561221
>see arch wiki on hidpi
I did. If I force chromium to use device scaling, it basically falls back to the 96 settings.

>>65561221
>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 >>65560996

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.
>>
>>65561166
there is
https://developer.gnome.org/gtk3/unstable/GtkSettings.html#GtkSettings--gtk-xft-dpi
but it doesn't seem to do anything [outside of gnome]

>>65561166
>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
>>
>>65561275
so you just want bigger fonts?
use bigger fonts
>>
>>65561302
>so you just want bigger fonts?
I want my fonts to render correctly.
Look at this >>65561166 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.

>>65561294
I'll try the GNOME one, thanks.
>>
>>65561333
>all the fonts are stretched vertically. That's unacceptable.
could it be your font config aliases, if you even have such?
>>
>>65561232
is something actualy humorous or are you just retarded?
>>
>>65560653
Courgette
>>
>>65561455
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.
>>
>>65561560
idk but you could maybe set rules for what you want in your /conf.d/
see that github link above
>>
File: fontrendering.webm (33 KB, 1280x800)
33 KB
33 KB WEBM
>>65558555
Fixed it for you.
>>
Fedora

How is it?
>>
For the love of Cthulhu, end the summer
>>
File: Screenshot_20180416.png (458 KB, 1820x820)
458 KB
458 KB PNG
I like this one a lot, it's beautiful and redebale.
>>
Ubuntu and MacOS are the only Linux distributions that come with decent font rendering out of the box. Because that's one of the primary drivers of UX they are objectively the best choices of operating system for people who don't want to spend hours configuring fifteen community unmaintained packages.
Hope this helps OP.
>>
>>65561976
only if you are over 50 years old
>>
>>65561831
What's your hinting set at? The space on the title is just full retard, which looks to me like it might be hinting set on full.
>>
>>65562337
>MacOS
>Linux distributions
>>
>>65562429
Damn that looks good, what's your configuration?
>>
>>65562414
i'm 48.
>>
>>65562474
http://ix.io/w6A
>>
How to correctly install new font? I've just put mine into home .font folder and selected it in XFCE appearance font settings.
>>
File: file.png (443 KB, 1280x959)
443 KB
443 KB PNG
>>65558555
>>
>>65562484
I dont get this shit at all, why are you Linux fags so fucking vague with instructions
>>
File: 1523854544573.jpg (289 KB, 1280x800)
289 KB
289 KB JPG
>>65558555
fixd
>>
>>65563126
>black and white
>bigger filesize
THE ABSOLUTE STATE OF JPEG
>>
>>65558666
Maybe for an MS Word document. Seeing Times New Roman on a web page makes my eyes bleed.
>>
>>65558710
Shifting the goal posts. Nice.
>>
>>65555555
>>
emacs, how is it?
>>
File: 4L_a41ZcRW3.png (124 KB, 283x280)
124 KB
124 KB PNG
>>65559607
>>
>>65558555
OpenSUSE, MacBook Air 13" LG panel, Freetype, Slight hinting, lcdlight filter.
I like the result, much better than on OS X.
Fonts are not great tho, but rendering is good.
>>
>>65564019
>E■peгoг
>■ost
>■orld's

Shit/10
>>
>font autism

almost makes me want to take screenshots with comic sans just to trigger you faggots
>>
>>65560208
But you've installed GNU/Linux, not only Linux.
It is like saying, I'm driving an 2JZ, instead of Supra with 2JZ
>>
>>65564045
>>65559673
What's wrong with it?
That's how my Kobo too looks
not much space between letters, words, enough obviously for quick glance reading-searching, but not bigger
>>
Comic Sans > Gothic > OCR > system
>>
>>65564176
Text-to-speech>Comic sans>Gothic>OCR>System.
>>
>>65562477
Overage, get out of /g/
>>
>>65563101
see the source in the bottom

>>65562728
or .local/share/fonts/
that would be for the gtk gui, for firefox you'd need to at least have something to link liberation-sans [arial subs] to sans because usually sans is linked to dejavu-sans by default
>>
deeebian
>>
>>65560664
But "linux" does though
>>
>>65564175
blurry
>>
>>65565413
How2fix?
>>
>>65564649
>But "linux" does though
*ucuntu
>>
>>65565429
lcdlight
rgb
hintslight
idk

you can have those rules just for that font if your global ones are different

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>

<!-- Liberation Mono -->
<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Mono</string>
</test>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintslight</const>
</edit>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
</match>

<match target="font">
<test name="force_autohint">
<bool>false</bool>
</test>
<test name="family">
<string>Liberation Mono</string>
</test>
<test name="pixelsize" compare="more">
<double>10.5</double>
</test>
<test name="pixelsize" compare="less">
<double>13.5</double>
</test>
<edit name="autohint" mode="assign">
<bool>false</bool>
</edit>
<edit name="antialias" mode="assign">
<bool>true</bool>
</edit>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="hintstyle" mode="assign">
<const>hintfull</const>
</edit>
</match>
</fontconfig>


etc, fit to ur thing
>>
>>65565493
KDE, MATE, even feetshit does
you can set X properties per monitor as well
For example
#if SCREEN_NUM == 0
XFt.dpi: 157
#endif

#if SCREEN_NUM == 1
XFt.dpi: 96
#endif

You can use this guys rules >>65565648 per monitor as well so you can have an RGB and BGR on either monitor at the same time
>>
File: 1339550542725.jpg (30 KB, 450x420)
30 KB
30 KB JPG
Why does Microsoft keep sending paid shills to this chinese cartoon board, when every single chinese cartoon afficianado present and accounted for is fully familiar with microsoft windows and are acutely aware of what utter shit it is?
>>
File: 00108upset.jpg (85 KB, 960x720)
85 KB
85 KB JPG
>Complain about font rendering
>Exclusively use low PPI displays on your laptop and/or desktop.

Imagine if people with 1024x768 screens were complaining about screen space.
>>
>>65563126
I always wanted a shitty xerox for a desktop.
>>
>>65561232
Well, my monitor is 3840x2160 but I cropped the screenshot.
>>
>>65565768
it's all the 1366x768 thinkshits being like UH AKSHULLY HIGH PPI SCREENS DONT COUNT, NEVER MIND THAT IM USING THE WORST OF CHINKSHIT PANELS MUH INFINALITY PATCHES
>>
>>65565768
IT's poor people problems I swear.
>>
>>65566298
>1366x768 thinkshits
Come on, even we have at least 1440p by now.
>>
>>65566745
I had 1600p in like 2009 dude
fucking poorfag retards
>>
>>65566758
>I had 1600p in like 2009 dude
Which diagonal?
>>
>>65566745
tell that to the retards shilling t420s
>>
File: 1512316972639.png (227 KB, 1366x697)
227 KB
227 KB PNG
rate
>>
>>65567477
blurry moonrunes 2/10
>>
>>65567289
retatd with a t420s reporting in
>>
>>65558555
>2018
>/g/ STILL compares font rendering by taking a screenshot and sending it over the internet
>what is subpixel placement
HURR DE DURR
>>
>>65567646
The RGB subpixel layout is pretty universal for desktop and laptop displays.
>>
>>65567477
I think you need a prescription glasses. Blurry as a hell.
>>
>>65567646
Most screens are quite the same, RGB pixel layout, and 96-128 DPI.




Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.