Sponsored Content
Operating Systems Linux Fedora Fedora 30 and Slackware 14.2, how to obtain the same rendering? Post 303036851 by Linusolaradm1 on Sunday 14th of July 2019 09:45:38 AM
Old 07-14-2019
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
 

6 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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
All times are GMT -4. The time now is 08:28 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy