LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 04-27-2017, 07:52 AM   #1
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Rep: Reputation: 181Reputation: 181
heads-up: freetype 2.7.1 and terminus-fonts


Just ran into this upon upgrade to current, but freetype 2.7 has an issue changing the name of the Terminus font, preventing it to be selected using the simple name:

Code:
    # on freetype 2.6
    $ fc-match "Terminus"
    ter-112n.pcf.gz: "xos4 Terminus" "Regular"

    # on freetype 2.7.1
    $ fc-match "Terminus"
    DejaVuSans.ttf: "DejaVu Sans" "Book" # LOLWAT

    # instead, it is seen via "xos4 Terminus" name
    $ fc-match "Terminus"
    ter-112n.pcf.gz: "xos4 Terminus" "Regular"
See https://lists.nongnu.org/archive/htm.../msg00019.html, apparently an issue since January. This appears to be correct behavior per https://lists.nongnu.org/archive/htm...msg00023.html:

Quote:
Well, it's not a problem but an expected change, which is mentioned in
FreeType's `CHANGES' file:

- PCF family names are made more `colourful'; they now include the
foundry and information whether they contain wide characters. For
example, you no longer get `Fixed' but rather `Sony Fixed' or
`Misc Fixed Wide'.

Last edited by zakame; 04-27-2017 at 07:55 AM. Reason: add note for "correct" behavior
 
Old 04-27-2017, 01:26 PM   #2
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,493

Rep: Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437Reputation: 8437
Reading the entire thread, the Freetype developer believes this is an improvement. In some ways I agree, as it prevents possible duplicate names in a list of fonts that turn out to be different fonts (i.e. "Fixed"), but it is disruptive to existing font configurations.

The developer was convinced to turn the long family names for PCF fonts off by default, and that's how it is in the git master version of freetype right now. I'm planning to do the same shortly in a -2 build of the freetype package.
 
4 members found this post helpful.
Old 04-28-2017, 12:08 AM   #3
zakame
Member
 
Registered: Apr 2012
Location: Philippines
Distribution: Debian, Ubuntu, Slackware
Posts: 295

Original Poster
Rep: Reputation: 181Reputation: 181
Thanks, volkerdi! I wonder too if later it would be possible to later support both "xos4 Terminus" and "Terminus" names (maybe via a /etc/fonts/conf.d toggle.)
 
Old 04-28-2017, 04:25 AM   #4
dederon
Member
 
Registered: Oct 2013
Posts: 105

Rep: Reputation: 56
linux is such a mess.

thanks for pointing this out, i now use the workaround described here:

https://lists.nongnu.org/archive/htm.../msg00020.html
 
Old 04-28-2017, 05:12 AM   #5
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,894

Rep: Reputation: 5014Reputation: 5014Reputation: 5014Reputation: 5014Reputation: 5014Reputation: 5014Reputation: 5014Reputation: 5014Reputation: 5014Reputation: 5014Reputation: 5014
Yeah, I think I also preferred the new longer names and a fontconfig alias for backward compatibility, but as upstream have decided to flip the default back to the old shorter names it makes sense for slackware to follow their lead.


@volkerdi, thank you for doing the freetype.sh change.
 
  


Reply

Tags
font, freetype


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Terminus fonts absent from setconsolefont in -current jprzybylski Slackware 3 08-08-2013 11:55 AM
terminus package doesn't work properly / cant use terminus font polemon DamnSmallLinux 2 10-14-2007 03:39 PM
[Dapper] Ugly fonts with freetype 2.1.10 Ironi Ubuntu 7 05-24-2006 03:53 PM
Freetype and ugly fonts yeela Linux - Software 2 09-29-2005 04:40 AM
Freetype fonts fackamato Linux - Software 3 03-09-2004 04:12 AM

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

All times are GMT -5. The time now is 12:30 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