LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-23-2019, 12:54 AM   #556
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320

Heads up that Apple's San Franciso fonts are free.

https://developer.apple.com/fonts/

As for extracting them... it's three commands. "7z x" on the dmg file, "7z x" on the pkg file inside, "cpio -i" on the "Payload~" file inside the pkg file.
 
1 members found this post helpful.
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-23-2019, 02:29 AM   #557
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,897

Rep: Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019Reputation: 5019
What sort of licence are they under? I couldn't see any mention on that page.
 
Old 08-24-2019, 04:19 PM   #558
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,683

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by dugan View Post
Heads up that Apple's San Franciso fonts are free.

https://developer.apple.com/fonts/

As for extracting them... it's three commands. "7z x" on the dmg file, "7z x" on the pkg file inside, "cpio -i" on the "Payload~" file inside the pkg file.
I'm interested in giving these fonts a look, but when I run "cpio -i" on the Payload~ file, it seems to just stall on not extract the file. Am I missing something?
 
Old 08-24-2019, 05:06 PM   #559
ehartman
Senior Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 1,674

Rep: Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888Reputation: 888
Quote:
Originally Posted by Daedra View Post
I'm interested in giving these fonts a look, but when I run "cpio -i" on the Payload~ file, it seems to just stall on not extract the file. Am I missing something?
cpio doesn't use filenames, you have to REdirect the file into the cpio commandline, like
Code:
cpio -i"other options"  < Payload_archive
See "man cpio" too for all the options (especially --make-directories or --preserve-modification-time.
cpio does need some getting used too, I admit, it really was meant to be used in a pipe.
For instance: from my "backup restore" script (which is using cpio archives)
Code:
$RCMD dd if=/dev/$DEVICE ibs=$BLKSIZE | cpio -iv$OPT "$@"
(in which the "dd" can run on a different computer then the cpio, that's why the $RCMD in front of it). The $OPT can include options like--unconditional to overwrite already existing files.
 
1 members found this post helpful.
Old 08-27-2019, 10:37 PM   #560
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
Just learned about the Go fonts...

https://blog.golang.org/go-fonts
 
3 members found this post helpful.
Old 08-28-2019, 08:56 AM   #561
anthk
Member
 
Registered: Feb 2019
Posts: 31

Rep: Reputation: Disabled
My ~/.Xdefaults:

Code:
XTerm*FaceName:Unifont:size=17:antialias=true
XTerm*loginShell: true
I installed gnu-unifont from SBO's. It has one of the
best UTF8 coverage in XTerm's.

For the rest, I use the IBM Plex family for sans, serif
and monospaced fonts. The SBo name is "ttf-ibm-plex".
 
1 members found this post helpful.
Old 08-29-2019, 01:38 PM   #562
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,225

Rep: Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320Reputation: 5320
I decided to go with Hack for my terminal font. For the entirely technical reason that it includes Powerline glyphs, and doesn't need to be "patched" to add them.
 
2 members found this post helpful.
Old 11-30-2019, 02:50 AM   #563
igor_ubuntu
Member
 
Registered: Jan 2014
Posts: 32

Rep: Reputation: Disabled
About Infinality Fonts for Slackware

To date, we have:

Eric Fernandes Ferreira aka Candelabrus
https://github.com/ericfernandesferr...finality-fonts
Quote:
This my version of Infinality is based on the version of nihilismus
https://github.com/nihilismus/bob-infinality-bundle )

Requirements:
- slackware64 14.2

Contents:
- beautifulsoup
- cssselect
- lxml
- freetype
- fontconfig
- cairo

Freetype 2.6.3
Cairo 1.14.6
Fontconfig 2.11.1
==================================================

https://github.com/archfan/bob-infinality-bundle
Quote:
Infinality Bundle for Slackware 14.2

These are SlackBuilds & patches to rebuild some official packages in Slackware Linux,
are in test so be careful with the result in your system.

Freetype 2.6.5
Cairo 1.14.6
Fontconfig 2.11.95
=====================================================

https://github.com/rfmae/bob-infinality-bundle
Quote:
At this moment these SlackBuilds are from and for slackware64-14.2, but they also work with slackware-14.2.
I tried to make the minimal modificactions to the originals Slackbuilds.
There is not need to select a type of font rendering (Windows, Apple or Ubuntu)
since the "aim of infinality-bundle is to make use of the vast potential hidden in native Linux font rendering back-end".

Freetype 2.6.5
Cairo 1.14.6
Fontconfig 2.11.1
=======================================================

https://github.com/rrudakov/slackware-infinality
Quote:
Based on archfan infinality patches. https://github.com/archfan/infinality_bundle
Master branch contains sources and precompilled packages for slackware64-current.
If you use slackware-14.2 checkout slackware-14.2 branch.

Versions for slackware64-current:

Freetype 2.8
FontConfig 2.12.4
Cairo 1.14.10
=============================

https://gitlab.com/grinder/infinality-fonts

Quote:
Eric Fernandes Ferreira aka Candelabrus
Infinality Fonts for Slackware Current

Freetype 2.10
FontConfig 2.13.1
Cairo 1.16.0
=================================

Quote:
https://github.com/pdeljanov/infinality-remix
Arch Linux PKGBUILDs for Infinality patched FreeType, Fontconfig, and Cairo packages =>

=> https://www.linuxquestions.org/quest...ml#post5979871

This is for -current.
The Slackbuild from Daedra:

https://www.dropbox.com/s/ow52bkkxx3...15.tar.gz?dl=0
Install lxml from SBo first, then run ./install.sh

Freetype 2.10
FontConfig 2.13.1
Cairo 1.16.0
 
Old 12-01-2019, 04:49 AM   #564
igor_ubuntu
Member
 
Registered: Jan 2014
Posts: 32

Rep: Reputation: Disabled
Quote:
Originally Posted by igor_ubuntu View Post
About Infinality Fonts for Slackware

https://github.com/archfan/bob-infinality-bundle
Quote:
Infinality Bundle for Slackware 14.2

These are SlackBuilds & patches to rebuild some official packages in Slackware Linux,
are in test so be careful with the result in your system.

Freetype 2.6.5
Cairo 1.14.6
Fontconfig 2.11.95
AFAIU
This build does not enable SUBPIXEL_HINTING.

<archfan-bob-infinality-bundle-master>/source/l/freetype/infinality-bundle/

has 03-infinality-2.6.3-2016.04.16.patch

This patch has
Code:
diff --git .......
...
...
diff --git a/devel/ftoption.h b/devel/ftoption.h
--- a/devel/ftoption.h    2016-03-28 12:09:54.392246487 +0200
+++ b/devel/ftoption.h    2016-03-28 12:17:20.364039723 +0200
@@ -604,6 +604,16 @@ FT_BEGIN_HEADER
   /*                                                                       */
 #define TT_CONFIG_OPTION_SUBPIXEL_HINTING
 
+  /*************************************************************************/
+  /*                                                                       */
+  /* Define FT_CONFIG_OPTION_INFINALITY_PATCHSET if you want to enable     */
+  /* all additional infinality patches, which are configured via env       */
+  /* variables.                                                            */
+  /*                                                                       */
+  /*   This option requires TT_CONFIG_OPTION_SUBPIXEL_HINTING to           */
+  /*   defined.                                                            */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_INFINALITY_PATCHSET
 
   /*************************************************************************/
   /*                                                                       */
But
the resulting files /tmp/bob-infinality-bundle/freetype-2.6.5/include/config/ftoption.h (after compilation)
(and 'ftoption.h' of freetype-2.6.5-x86_64-1.txz (after compilation))
do not have
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
+#define FT_CONFIG_OPTION_INFINALITY_PATCHSET


These lines can be found only in /usr/include/config/ftoption.h.rej
AFAIU there is a conflict here.

So, if I want to get TT_CONFIG_OPTION_SUBPIXEL_HINTING,
I have to further set the file 'ftoption.h' manually in sources.

i.e. to undefine a line here

/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 1 */
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING 2 */
/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING ( 1 | 2 ) */

Right ?
But how about +#define FT_CONFIG_OPTION_INFINALITY_PATCHSET ?
How to get ones ?
 
Old 01-06-2020, 05:28 AM   #565
igor_ubuntu
Member
 
Registered: Jan 2014
Posts: 32

Rep: Reputation: Disabled
Quote:
About Infinality Fonts for Slackware
https://github.com/archfan/bob-infinality-bundle
I have applied that in 14.2 and got a excellent result.
But a compile log shows me

Code:
...
patching file include/freetype/freetype.h
Using Plan A...
Hunk #1 succeeded at 20 with fuzz 1.
done

Applying: /home/slx/ft/archfan-bob-infinality-bundle-master265/source/l/freetype/infinality-bundle/01-freetype-2.6.3-enable-valid.patch ...

patching file modules.cfg

Applying: /home/slx/ft/archfan-bob-infinality-bundle-master265/source/l/freetype/infinality-bundle/03-infinality-2.6.3-2016.04.16.patch ...
patching file builds/freetype.mk
patching file configure
patching file devel/ftoption.h
Hunk #1 succeeded at 582 with fuzz 2 (offset -22 lines).
patching file include/freetype/config/ftoption.h
Hunk #2 FAILED at 602.
1 out of 2 hunks FAILED -- saving rejects to file include/freetype/config/ftoption.h.rej
patching file src/autofit/aflatin.c
ftoption.h.rej has

Code:
--- include/freetype/config/ftoption.h
+++ include/freetype/config/ftoption.h
@@ -92,7 +92,7 @@ FT_BEGIN_HEADER
   /* This is done to allow FreeType clients to run unmodified, forcing     */
   /* them to display normal gray-level anti-aliased glyphs.                */
   /*                                                                       */
-/* #define FT_CONFIG_OPTION_SUBPIXEL_RENDERING */
+#define FT_CONFIG_OPTION_SUBPIXEL_RENDERING
 
 
   /*************************************************************************/
@@ -602,7 +602,19 @@ FT_BEGIN_HEADER
   /*   This option requires TT_CONFIG_OPTION_BYTECODE_INTERPRETER to be    */
   /*   defined.                                                            */
   /*                                                                       */
-/* #define TT_CONFIG_OPTION_SUBPIXEL_HINTING */
+#define TT_CONFIG_OPTION_SUBPIXEL_HINTING
+
+
+   /*************************************************************************/
+   /*                                                                       */
+  /* Define FT_CONFIG_OPTION_INFINALITY_PATCHSET if you want to enable     */
+  /* all additional infinality patches, which are configured via env       */
+  /* variables.                                                            */
+  /*                                                                       */
+  /*   This option requires TT_CONFIG_OPTION_SUBPIXEL_HINTING to           */
+  /*   defined.                                                            */
+  /*                                                                       */
+#define FT_CONFIG_OPTION_INFINALITY_PATCHSET
 
 
   /*************************************************************************/
How to fix that ?
AFAIU There is a incompatibility problem between archfan/bob-infinality-bundle_03-infinality-2.6.3-2016.04.16.patch and 14.2 (archfan uses Freetype 2.6.5) ?
What should I do ?

Last edited by igor_ubuntu; 01-06-2020 at 05:31 AM. Reason: corrections
 
Old 11-04-2020, 12:53 AM   #566
igor_ubuntu
Member
 
Registered: Jan 2014
Posts: 32

Rep: Reputation: Disabled
pdeljanov https://github.com/pdeljanov/infinality-remix
has ported Infinality to 2.10.04
Quote:
A buildable 2.10.4 patch is present in the freetype-2.10.4 branch of this repository. However, it fails to render glyphs at runtime resulting in segfaults for QT apps and broken rendering in GTK apps.

Looking for someone with FreeType experience who can help debug this issue and maybe even track down the root cause in the patched source.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
If I were to recompile & arch-optimize Slackware, where to begin? GrapefruiTgirl Slackware 124 06-22-2007 09:46 PM
How to Optimize Slackware 10.2? zeroz52 Slackware 23 10-04-2005 06:42 PM
How to fully optimize Slackware? Introx Slackware 4 05-30-2004 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration