LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 04-26-2015, 10:55 AM   #466
hba
Member
 
Registered: May 2012
Location: Oaxaca, México
Distribution: Slackware Linux
Posts: 45

Rep: Reputation: 20

With -current being updated at this moment i've made the required changes to my repository [1].

- Cheers

[1] https://github.com/nihilismus/bob-infinality-bundle
 
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 07-26-2015, 05:42 PM   #467
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
If anyone wants to try the Firefox OS fonts, I have a SlackBuild here:

https://raw.githubusercontent.com/du...ira.SlackBuild

Warning: it starts by cloning the git repository, which is currently close to 700mb.

EDIT: Not anymore it doesn't. Thanks to the posters below.

Last edited by dugan; 07-27-2015 at 12:40 AM.
 
Old 07-26-2015, 05:50 PM   #468
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Quote:
Originally Posted by dugan View Post
If anyone wants to try the Firefox OS fonts, I have a SlackBuild here:

https://raw.githubusercontent.com/du...ira.SlackBuild

Warning: it starts by cloning the git repository, which is currently close to 700mb.
You might want to just download the readymade TTF files from https://github.com/mozilla/Fira/tree/master/ttf instead of downloading the whole font source.
 
1 members found this post helpful.
Old 07-26-2015, 06:35 PM   #469
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by Alien Bob View Post
You might want to just download the readymade TTF files from https://github.com/mozilla/Fira/tree/master/ttf instead of downloading the whole font source.
Then I'd have to update the SlackBuild every time they add, rename or retire a font file, and I wouldn't be able to version the package by the revision hash.

And besides, it's the OTFs that you want for a Linux desktop.

(I'm going for low-maintenance; a more-dedicated packager who is willing to do the above is welcome to).

Last edited by dugan; 07-26-2015 at 06:45 PM.
 
Old 07-26-2015, 06:55 PM   #470
55020
Senior Member
 
Registered: Sep 2009
Location: Yorks. W.R. 167397
Distribution: Slackware
Posts: 1,307
Blog Entries: 4

Rep: Reputation: Disabled
Two words: shallow clone.
git clone --depth 1 brings it down to 329 Mb.
 
1 members found this post helpful.
Old 07-26-2015, 07:05 PM   #471
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by 55020 View Post
Two words: shallow clone.
git clone --depth 1 brings it down to 329 Mb.
THANKS!

SlackBuild updated.
 
Old 07-26-2015, 10:43 PM   #472
MadMaverick9
Member
 
Registered: Aug 2010
Posts: 353
Blog Entries: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by dugan View Post
Warning: it starts by cloning the git repository, which is currently close to 700mb.
Quote:
Originally Posted by 55020 View Post
Two words: shallow clone.
git clone --depth 1 brings it down to 329 Mb.
Uh - What??? 700MB??? 329MB??? Just for a few font files?!?!

You two have just pointed out one of the big problems of git. You can not just get the files in a subdirectory.

Code:
bash $ svn export --force https://github.com/mozilla/Fira/trunk/ttf/ .
Exported revision 101.
bash $ du -shc .
14M     .
14M     total
Code:
bash $ svn checkout https://github.com/mozilla/Fira/trunk/ttf/ .
Checked out revision 101.
bash $ du -shc .
27M     .
27M     total
bash $ svn update ; svn cleanup ; svn status
Updating '.':
At revision 101.
 
2 members found this post helpful.
Old 07-27-2015, 12:38 AM   #473
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Thank you, MadMaverick! I had no idea you could do that, and I didn't know github supported svn. I've updated the SlackBuild again.

Last edited by dugan; 07-27-2015 at 12:41 AM.
 
Old 07-27-2015, 12:43 AM   #474
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Thanks for the build Dugan but I was wondering if you could add a slack-desc? I know its not really needed but it is nicer cosmetically.
 
Old 07-27-2015, 12:44 AM   #475
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,220

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by Daedra View Post
Thanks for the build Dugan but I was wondering if you could add a slack-desc? I know its not really needed but it is nicer cosmetically.
Maybe tomorrow.

I always find slack-descs to be the hardest part of writing SlackBuilds.

EDIT: Added.

Last edited by dugan; 07-27-2015 at 12:52 AM.
 
Old 07-27-2015, 01:01 AM   #476
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,682

Original Poster
Rep: Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375Reputation: 1375
Quote:
Originally Posted by dugan View Post
Maybe tomorrow.

I always find slack-descs to be the hardest part of writing SlackBuilds.

EDIT: Added.
Agreed, that's why I like to use Alien Bob's SlackBuild toolkit for making my slack-desc file. Makes it a breeze. http://alien.slackbook.org/AST/index.php
 
Old 08-09-2015, 03:06 PM   #477
hba
Member
 
Registered: May 2012
Location: Oaxaca, México
Distribution: Slackware Linux
Posts: 45

Rep: Reputation: 20
Slackware -current now has freetype-2.6-x86_64-1 so, once again, i've made the required changes to my repository [1].

Now I'm wondering if someone has an SlackBuild for infinality-bundle-fonts [2], which are quite a lot and include the Firefox OS fonts ;-)

- Cheers

[1] https://github.com/nihilismus/bob-infinality-bundle
[2] http://bohoomil.com/repo/fonts/
 
Old 08-09-2015, 04:31 PM   #478
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,056

Rep: Reputation: Disabled
To contribute to a feasibility study of including translations in RTL languages in Slint installers, I have uploaded 'bogl' build stuff and packages for Slackware version 14.1 here.

Basically, the packages ship the 'bterm' terminal used by Debian's polyglot text installer, alongside an 'unifont' font, in two formats:
  • unifont.bdf, found in the the source tarball[1]
  • unifont.bgf used by bterm (the utility bdftobogl used to make the conversion is also shipped in the package)
Although the 'unifont' font be not specially well looking IMHO, this offers the advantage of using one single font for a lot of languages without X, in a framebuffer (needed by bterm to draw the characters on the screen): instead of being limited to 256 or 512 glyphs as in a raw Linux console, you get no less than 57086 characters at no additional cost.

If you'd like to try it, become root and in a (framebuffered) tty type as root "bterm.sh" (this wrapper scripts sets the font to unicode.bgf, see "bterm.sh --help").

You'll be dropped in a login shell and will have to log in as a regular user (but you may "su" after that).

While we are at it, if you want to get a wide range of characters on the console but prefer a better looking and scalable at will TTF font, like those included in the DejaVu collection, you could use fbterm, available @ http://slackbuilds.org.

For obvious reasons, to use either 'bterm' or 'fbterm' you will need an UTF8 encoded locale.

HTH some.

PS If you prefer to use another font than unifont.bgf in bterm, you can convert any to BDF with fontforge then convert it to BGF with:
Code:
bdftobogl -b font.bdf > font.bgf
I have uploaded a few ones here. They don't look so good, that's my fault: I am not used to fontforge yet and probably used bad settings or options for rasterization. But you get the idea.

You can then start bterm like that from a framebuffer:
Code:
bterm -f font.bgf
[1]See the Glyph Bitmap Distribution Format (BDF) Specification from Adobe. BDF is a rather simple text format (see an example here) so you can use the "reduce-font" utility shipped in 'bogl' packages if you just need a subset of the glyphs. Writing instead a simple sed script to reduce the font to a set of ranges of Unicode code points is left to the reader as an exercise

Last edited by Didier Spaier; 08-10-2015 at 04:34 PM. Reason: typo fix.
 
Old 08-11-2015, 07:04 PM   #479
dimm0k
Member
 
Registered: May 2008
Location: Brooklyn ZOO
Distribution: Slackware64 14.2
Posts: 564

Rep: Reputation: 56
just updated Chrome to 44.0.2403.130 and now the fonts in Chrome look like crap... anyone else see this effect as well?
 
Old 08-24-2015, 03:31 PM   #480
Buumi
Member
 
Registered: Dec 2010
Location: Finland
Distribution: Slackware 14.1
Posts: 61

Rep: Reputation: 10
Does somebody happen to already have slackbuild or packages for Infinality patched OpenJDK? Like this: https://aur.archlinux.org/packages/j...dk-infinality/
 
  


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 01:27 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