Fedora 30 and Slackware 14.2, how to obtain the same rendering?


Login or Register for Dates, Times and to Reply

 
Thread Tools Search this Thread
Operating Systems Linux Fedora Fedora 30 and Slackware 14.2, how to obtain the same rendering?
# 15  
OBTW, back at my desk, logged into Ubuntu:


Code:
# fc-cache -fv
/usr/share/fonts: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
# fc-list
/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold
/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf: DejaVu Sans:style=Book
/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold
/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf: DejaVu Serif:style=Book
#

# 16  
Quote:
Originally Posted by Neo
OBTW, back at my desk, logged into Ubuntu:


Code:
# fc-cache -fv
/usr/share/fonts: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs
/usr/local/share/fonts: caching, new cache contents: 0 fonts, 0 dirs
/root/.local/share/fonts: skipping, no such directory
/root/.fonts: skipping, no such directory
/var/cache/fontconfig: cleaning cache directory
/root/.cache/fontconfig: not cleaning non-existent cache directory
/root/.fontconfig: not cleaning non-existent cache directory
fc-cache: succeeded
# fc-list
/usr/share/fonts/truetype/dejavu/DejaVuSerif-Bold.ttf: DejaVu Serif:style=Bold
/usr/share/fonts/truetype/dejavu/DejaVuSansMono.ttf: DejaVu Sans Mono:style=Book
/usr/share/fonts/truetype/dejavu/DejaVuSans.ttf: DejaVu Sans:style=Book
/usr/share/fonts/truetype/dejavu/DejaVuSans-Bold.ttf: DejaVu Sans:style=Bold
/usr/share/fonts/truetype/dejavu/DejaVuSansMono-Bold.ttf: DejaVu Sans Mono:style=Bold
/usr/share/fonts/truetype/dejavu/DejaVuSerif.ttf: DejaVu Serif:style=Book
#

I have all this fonts, I test with those commands
the file fonti contain your list


Code:
while read line;do fc-list|grep "$line";done < fonti > fonti2
wc -l fonti fonti2
  6 fonti
  6 fonti2
 12 totale

--- Post updated at 09:45 AM ---

Reading on this forum,seems freetype from Version 2.8 has changed the variable TT_CONFIG_OPTION_SUBPIXEL_HINTING
So I create a patch
Code:
--- include/freetype/config/ftoption.h    2019-07-14 15:15:05.380268643 +0200
+++ include/freetype/config/ftoption.h    2019-07-14 15:15:10.254336367 +0200
@@ -658,7 +658,7 @@
   /* [1] https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */
   /*                                                                       */
 /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  1         */
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING  2
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING  1
 /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  ( 1 | 2 ) */
 
 
--- devel/ftoption.h    2019-07-14 15:16:30.870456502 +0200
+++ devel/ftoption.h    2019-07-14 15:17:05.095932053 +0200
@@ -631,7 +631,7 @@
   /*                                                                       */
 /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  1     */
 /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  2     */
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING     ( 1 | 2 )
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING     1 
 
 
   /*************************************************************************/

--- include/freetype/config/ftoption.h.enable-spr    2019-07-14 15:28:38.516824794 +0200
+++ include/freetype/config/ftoption.h.enable-spr    2019-07-14 15:28:31.382970434 +0200
@@ -658,7 +658,7 @@
   /* [1] https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx */
   /*                                                                       */
 /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  1         */
-#define TT_CONFIG_OPTION_SUBPIXEL_HINTING  2
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING  1
 /* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING  ( 1 | 2 ) */



Recompile using a spec(original) and appyng this patch


And voilĂ ..nothing change Smilie
# 17  
Maybe just try installing one font from google fonts and listing it to make sure it installs?

Install it for system-wide use and see what happens.
# 18  
Sorry, I cannot follow you because you are not posting the exact commands you run with fc-list and the exact output; and you are not posting using code tags, etc. You are posting fragments which are not a complete picture for others to follow.

When posting and asking others for help, you need to be precise, exact and post all commands you run and the exact output, not fragments of outputs like you have been doing.

Your core problem, as I see it, is that you have not installed your fonts properly and when you list the fonts using fc-list, it is not showing the fonts you need; and you are not using a step-by-step method to install and list a new font, in my view. You are lacking, or so it seems to be, a step-by-step troubleshooting method to understand what is going on.

You have listed fonts (in a much earlier post) that are not in the directories in the fonts.conf file and posted "all is there" but in fact, you are seemingly not understanding the basics of the fontconfig setup for Linux systems. You seeming are confusing X11 with fontconfig in Linux.

Anyway, that's what it seems to me reading your posts and replies.

I don't see how we can help if you are going to issue commands on your system (and not post the command you issued) and then post only fragments of the output. Troubleshooting a problem requires a methodical step-by-step method, and you seem not to have a methodical, step-by-step method in this case.
# 19  
Solution found.
I have simply backup the /etc/fonts in Fedora


Code:
cp -a /etc/fonts/conf.d /etc/fonts/conf.d.old

Then I have copied the configuration from Slackware


Code:
rsync -avP slack:/etc/fonts/conf.d/ fedora:/etc/fonts/conf.d
 rsync -avP slack:/etc/fonts/conf.avail/ fedora:/etc/fonts/conf.avail


Now finally I get the good fat fonts


Image




A even better result(at least for me, I prefer fat fonts and old freetype rendering pre 2.8)

is to use this variable



Code:
export FREETYPE_PROPERTIES=truetype:interpreter-version=35


Which must stay in /etc/profile.d/yourfavoritename.sh

Last edited by Linusolaradm1; 07-15-2019 at 09:43 AM..
This User Gave Thanks to Linusolaradm1 For This Post:
# 20  
Great.

Yes, that is what I thought you would do when I asked you to copy over the fonts from one system to the other; but you were working in the wrong font directories before; directories which were not in your fonts.conf file.

Glad you finally got it all sorted out.

At the end of the day, it is just "Linux font management", and the manual process of Linux font installation (and verification) should yield the the same results in each Linux distribution.
This User Gave Thanks to Neo For This Post:
# 21  
Another good solution here, is for Slackware but I think works also on Fedora.
Login or Register for Dates, Times and to Reply

Previous Thread | Next Thread
Thread Tools Search this Thread
Search this Thread:
Advanced Search

Test Your Knowledge in Computers #952
Difficulty: Medium
The Creeper virus was first detected on ARPANET in the early 1960s.
True or False?

6 More Discussions You Might Find Interesting

1. Red Hat

XCB crash while Video Rendering in multithreded application

I encounter the following crash on RHEL 7.0 when I run a multithreaded video rendering application using GLFW and OpenGL. OpenGL version is 2.1 and MESA version is 9.3.0 Following is the back trace of the multi-threaded program I am working on:... (0 Replies)
Discussion started by: anuachin
0 Replies

2. Red Hat

fedora grub help, moving to tri boot (XP, ubuntu, fedora soemething)

I will shortly be adding a fedora flavor to my devel box. I currently have XP (installed first on an ssd), ubuntu 10.04 (installed second on the first partition of a platter drive), and I want to add either Cent or SL on the second partition of the platter drive. I will probably also want to... (0 Replies)
Discussion started by: LMHmedchem
0 Replies

3. Red Hat

Fedora temporarily obtain root previlages

Hii friends!! i am quite a bit dealing with linux stuff i worked mostly on macosx unix side i created a user phoenix during installation of fedora 14 now after installation i want some rights to do a task i usually use sudo to elevate to do a operation; i did the same here but its going on... (3 Replies)
Discussion started by: phoenix_nebula
3 Replies

4. UNIX for Advanced & Expert Users

Exceed and offscreen rendering

Hi everyone. I made a program which renders a 3D scene into a pbuffer/pixmap (if pbuffer aren't supported) in order to export it to a postscript file. On a RHEL4 (32/64 bits) or whatever distribution may be, it works just fine. I'm using Exceed when I'm working under WinXP and each time I run my... (0 Replies)
Discussion started by: JB007ROLV
0 Replies

5. Linux

Dual Boot Win XP And Fedora with Fedora Installed First

Hi everyone, I hope this question goes here. Anyways, I have a unique situation where my friend's comp has Fedora installed and wants to add Win XP as a dual boot without formatting the drive. Is it possible to create a partition on the current hard drive and then install win xp? I couldn't find... (4 Replies)
Discussion started by: eltinator
4 Replies

6. UNIX Desktop Questions & Answers

Unix GUI rendering

Does anyone know why Fonts and most Graphics in KDE and Gnome are rendered rather badly. There are some text editors in KDE where the font is just horrible as far as legible. Any links or knowledge on this topic would be grealy appreciated. A Huge Unix/Linux Fan Gregg (2 Replies)
Discussion started by: gdboling
2 Replies

Featured Tech Videos