View previous topic :: View next topic |
Author |
Message |
papu l33t
Joined: 25 Jan 2008 Posts: 707 Location: Sota algun pi o alzina...
|
Posted: Sun Feb 25, 2018 12:49 am Post subject: "subpixel rendering broken in electron with freetype &g |
|
|
hi all, i not undesntand what thing happen whith fonts on de editor's part of this program in my plasma gentoo
on antergos fonts are ok.
any ideas?
https://i.imgur.com/8tNUmCD.png
https://i.imgur.com/SeNWRnh.png
Code: | ~ $ eselect fontconfig list
Available fontconfig .conf files (* is enabled):
[1] 10-autohint.conf
[2] 10-hinting-full.conf
[3] 10-hinting-medium.conf
[4] 10-hinting-none.conf
[5] 10-hinting-slight.conf
[6] 10-no-sub-pixel.conf
[7] 10-scale-bitmap-fonts.conf
[8] 10-sub-pixel-bgr.conf
[9] 10-sub-pixel-rgb.conf *
[10] 10-sub-pixel-vbgr.conf
[11] 10-sub-pixel-vrgb.conf
[12] 10-unhinted.conf
[13] 11-lcdfilter-default.conf *
[14] 11-lcdfilter-legacy.conf
[15] 11-lcdfilter-light.conf
[16] 20-unhint-small-dejavu-sans.conf *
[17] 20-unhint-small-dejavu-sans-mono.conf *
[18] 20-unhint-small-dejavu-serif.conf *
[19] 20-unhint-small-vera.conf *
[20] 25-unhint-nonlatin.conf
[21] 30-metric-aliases.conf *
[22] 40-nonlatin.conf *
[23] 45-generic.conf *
[24] 45-latin.conf *
[25] 49-sansserif.conf *
[26] 50-user.conf *
[27] 51-local.conf *
[28] 57-dejavu-sans.conf *
[29] 57-dejavu-sans-mono.conf *
[30] 57-dejavu-serif.conf *
[31] 59-google-droid-sans.conf *
[32] 59-google-droid-sans-mono.conf *
[33] 59-google-droid-serif.conf *
[34] 60-generic.conf *
[35] 60-latin.conf *
[36] 60-liberation.conf *
[37] 62-croscore-arimo.conf *
[38] 62-croscore-cousine.conf *
[39] 62-croscore-symbolneu.conf *
[40] 62-croscore-tinos.conf *
[41] 65-fonts-persian.conf *
[42] 65-khmer.conf
[43] 65-nonlatin.conf *
[44] 69-unifont.conf *
[45] 70-no-bitmaps.conf *
[46] 70-yes-bitmaps.conf
[47] 80-delicious.conf *
[48] 90-roboto-regular.conf *
[49] 90-synthetic.conf * |
_________________ "~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470
Last edited by papu on Sun Apr 08, 2018 10:37 pm; edited 1 time in total |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Feb 25, 2018 8:07 am Post subject: |
|
|
It's because it's an outdated electron app, using a broken bundled copy of chromium that doesn't work correctly with newer versions of freetype.
bug 631502 |
|
Back to top |
|
|
papu l33t
Joined: 25 Jan 2008 Posts: 707 Location: Sota algun pi o alzina...
|
Posted: Sun Feb 25, 2018 11:39 am Post subject: |
|
|
Ant P. wrote: | It's because it's an outdated electron app, using a broken bundled copy of chromium that doesn't work correctly with newer versions of freetype.
bug 631502 |
ah ok that is the problem hehe.
does electron app use chromium? i had no idea about this.
thanks _________________ "~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470 |
|
Back to top |
|
|
Ant P. Watchman
Joined: 18 Apr 2009 Posts: 6920
|
Posted: Sun Feb 25, 2018 6:29 pm Post subject: |
|
|
They all do, that's what electron is - just a web browser with the controls removed. |
|
Back to top |
|
|
Chiitoo Administrator
Joined: 28 Feb 2010 Posts: 2550 Location: Here and Away Again
|
Posted: Mon Feb 26, 2018 12:52 pm Post subject: |
|
|
Moved from Portage & Programming to Unsupported Software.
Since 'Visual Studio Code' can't be found in Portage, this fits better here. _________________ Kindest of regardses. |
|
Back to top |
|
|
ExecutorElassus Veteran
Joined: 11 Mar 2004 Posts: 1432 Location: Berlin, Germany
|
Posted: Sun Apr 08, 2018 6:19 pm Post subject: |
|
|
The title is misleading. This isn't a problem with "Visual Studio Code," but rather a bug in electron. The electron issue page is here (note that there doesn't seem to have been any activity on this since January).
I'd suggest OP change the title so others (myself included) can find this better. On my system, this affects the app version of Discord, and also the atom text editor.
That issue page suggests a patch is upstream; is there any way to move that patch into portage? Or manually patch the relevant ebuild?
Cheers,
EE |
|
Back to top |
|
|
papu l33t
Joined: 25 Jan 2008 Posts: 707 Location: Sota algun pi o alzina...
|
Posted: Sun Apr 08, 2018 7:02 pm Post subject: |
|
|
i am moved to sublime text sorry for the tittle i am not fluence in english. _________________ "~amd64" --cpu 7700 non-x --DDR5 2x16GB 6000MHz --gpu RX 470 |
|
Back to top |
|
|
ExecutorElassus Veteran
Joined: 11 Mar 2004 Posts: 1432 Location: Berlin, Germany
|
Posted: Sun Apr 08, 2018 7:07 pm Post subject: |
|
|
what I mean is to change the title to something like "subpixel rendering broken in electron with freetype >2.8", since that's what the actual problem is. Visual Studio is just an innocent bystander.
I'm installing electron from the atom layman overlay; hopefully that will fix the issue for me. I'll report back in a bit.
Cheers,
EE
update: the overlay sorta fixed freetype rendering, but not really. More problematic, though, is that atom is busted. I'll post to the github page for that, though, and not hijack this thread.
update2: check that, atom's fine, and text rendering there is much nicer looking. so the atom overlay, with newer electron than portage main, might help you as well. |
|
Back to top |
|
|
|