LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-08-2011, 03:23 AM   #241
xdunlapx
Member
 
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67

Rep: Reputation: 0

Oh actually I didn't do any thing other than run ./cairo.SlackBuild I didn't do installpkg. should i do upgradepkg cairo.Slackbuild? and the same for the others?
 
Old 05-08-2011, 03:42 AM   #242
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
the slackbuild only builds the packages for you, the actual package is saved in your /tmp directory. After you've ran ./cairo.Slackbuild and it has finished you install it by running

upgradepkg /tmp/cairo-1.10.2-x86_64-2.txz

The same goes for the other packages.
 
1 members found this post helpful.
Old 05-08-2011, 03:52 AM   #243
xdunlapx
Member
 
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67

Rep: Reputation: 0
bash-4.1# upgradepkg cairo-1.10.2-i486-2.txz

+==============================================================================
| Skipping package cairo-1.10.2-i486-2 (already installed)
+=====

how do I force it to upgrade? It appears it won't let me.
 
Old 05-08-2011, 03:58 AM   #244
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
Thats my bad, I must have for got to bump the version number when I made the builds. Do...

upgradepkg --reinstall /tmp/cairo-1.10.2-i486-2.txz

Also you really should read up on how slackware packages are made/work. It will save you headaches down the road. You can get this information in the slack book.
http://www.slackbook.org/html/book.h...AGE-MANAGEMENT

Last edited by Daedra; 05-08-2011 at 04:01 AM.
 
1 members found this post helpful.
Old 05-08-2011, 04:07 AM   #245
xdunlapx
Member
 
Registered: Oct 2008
Location: Ohio
Distribution: Xubuntu 11.10
Posts: 67

Rep: Reputation: 0
Aha!! That worked. cairo was the only one that had the upgrade problem. The others were fine as written. Whew!! Much prettier now! Thank you very much. I really appreciate your help. I'm sorry it took so long, but for me it's all a learning process. I'm used to debian-base systems. So I'm learning a whole new system. Haha! Thanks again!

Brittany
 
Old 05-08-2011, 04:11 AM   #246
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
No problem ,

I think You'll find that the Slackware users on the forum here are generally very patient and helpful.
 
Old 05-08-2011, 04:26 AM   #247
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
Quote:
Originally Posted by deNiro View Post
Has the procedure changed in any way?

do I have to remove the original packages first ( and /etc/fonts directory), and then build in order, or can I just build and upgrade?
Sorry I missed this post, Just build and upgrade. Do not delete your /etc/fonts directory. Just drop my fonts.conf file into your home directoy and rename it .fonts.conf

Last edited by Daedra; 05-08-2011 at 04:27 AM.
 
Old 05-11-2011, 01:06 AM   #248
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Since this seems to be the official unofficial Slackware font thread, i might as well ask here.
I use the webcore-fonts script from SBo http://slackbuilds.org/repository/13.../webcore-fonts
I was wondering, are the .conf files still relevant? Especially the 25-noautohint-corefonts.conf file. They seem to be but wanted to make sure, i dont know much about fonts.
 
Old 05-11-2011, 01:53 AM   #249
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
I am thinking no, because according to 25-noautohint-corefonts.conf.

SlackWiki recommends using the Bytecode interpreter to render
core fonts. In this file, we disable the Freetype autohinter
for Webcore fonts only. If you've enabled the Bytecode interpreter,
it will then be used to render Webcore fonts even if you turn
the autohinter on.


The freetype package that ships with 13.37 has the bytecode interpreter enabled by default so like it says above it should be used automatically. The 35-webcore-fonts.conf should be used if you want your desktop fonts to look like windows. I personally prefer the defaults, but its all just preference.
 
1 members found this post helpful.
Old 05-11-2011, 05:19 AM   #250
sahko
Senior Member
 
Registered: Sep 2008
Distribution: Slackware
Posts: 1,041

Rep: Reputation: Disabled
Thank you, i will remove both of them conf files then.
 
Old 05-21-2011, 12:56 AM   #251
vivanguarda
Member
 
Registered: Sep 2008
Location: RJ-Brazil
Distribution: Slackware
Posts: 166

Rep: Reputation: 4
I'm using a 13.37 system and wine to play a specific game. In another slack version, using a registry edition was enough to corret antialias fonts problems. Now it is not posssible. Is it also a Slackware 13.37 trouble?


Main solution in #212 post can be used in 32 bits slack 13.37?

EDIT
Quote:
Originally Posted by dugan View Post
The four patched SlackBuilds have been updated for 13.1.

You can find them in the "Optimizing Slackware Linux's Fonts" page in my sig.
Can I use these slackbuilds for CRT monitors and new slackware 13.37 version ?

Last edited by vivanguarda; 05-23-2011 at 10:21 PM.
 
Old 05-24-2011, 12:05 PM   #252
pigkouinos
LQ Newbie
 
Registered: May 2011
Posts: 15

Rep: Reputation: 10
autohinting and subpixel rendering

@Daedra

Hi there,

First of all, thank you very much for this tutorial and the 13.37 packages. My fonts look much better now. I've been reading Arch's font configuration wiki (https://wiki.archlinux.org/index.php...ion#Autohinter) though, and it says (twice) that one should not use autohinter along with subpixel rendering, because the two are not designed to work together. Your ~/.fonts.conf seems to turn them both on?
 
Old 05-24-2011, 02:22 PM   #253
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,216

Original Poster
Rep: Reputation: 177Reputation: 177
I't doesn't hurt anything, you can change the settings in the .fonts.conf and disable the auto-hinter and see if you like the results. I personally think it looks worse if you do, but thats me. Also I enable the BCI only for webcore fonts. From slackwiki...


SlackWiki recommends using the Bytecode interpreter to render
core fonts. In this file, we disable the Freetype autohinter
for Webcore fonts only. If you've enabled the Bytecode interpreter,
it will then be used to render Webcore fonts even if you turn
the autohinter on.


So as long as the BCI is turned on in the freetype built (it is by default in 13.37) it will be used for webcore fonts. Which is a good thing.
 
Old 05-25-2011, 08:11 AM   #254
markluocanada
Member
 
Registered: Dec 2006
Location: Shanghai China
Distribution: Slackware 13.1_x86_32
Posts: 143

Rep: Reputation: 17
Can someone help a bit on the Chinese fonts? (Slackware 13.1-32bit)

I basically followed the instructions from Dugan's website, and have a really good-looking English fonts, but when it comes to Chinese website, fonts are not that great. Please see the two attachments. Thanks

This is my .fonts.conf
Code:
<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
 <match target="font">
  <edit mode="assign" name="rgba">
   <const>rgb</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hinting">
   <bool>true</bool>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="hintstyle">
   <const>hintslight</const>
  </edit>
 </match>
 <match target="font">
  <edit mode="assign" name="antialias">
   <bool>true</bool>
  </edit>
 </match>
</fontconfig>
Those are links in conf.d
Code:
10-autohint.conf
10-sub-pixel-rgb.conf
20-fix-globaladvance.conf
20-unhint-small-vera.conf
30-metric-aliases.conf
30-urw-aliases.conf
35-droid.conf
40-nonlatin.conf
45-latin.conf
49-sansserif.conf
50-user.conf
51-local.conf
60-latin.conf
65-fonts-persian.conf
65-nonlatin.conf
69-unifont.conf
80-delicious.conf
90-synthetic.conf
README
Is there someway I can make the Chinese fonts better-looking? thanks
mark
Attached Images
File Type: png Chinese.png (252.6 KB, 43 views)
File Type: png English.png (222.1 KB, 37 views)
 
Old 05-29-2011, 06:10 AM   #255
george-lappies
Member
 
Registered: May 2011
Location: Secunda, South Africa
Distribution: Slackware 13.37
Posts: 180

Rep: Reputation: 9
Question

Quote:
Originally Posted by Daedra View Post
Ok I went ahead and got them updated. Here is the link
http://www.mostlyslack.com/slackstuff/cleartype

I put a bash script in each build called source.sh that will download the source for you, I was going to add this directly into the build but I got lazy and just did it this way . After you've built and installed the 3 packages (freetype, cairo, libXft) you will need to edit your fontconfig to enable sub-pixel rendering, you can add these features globally by adding the correct symlinks from your /etc/fonts/conf.avail to your /etc/fonts/conf.d directory. Or you can just use my fonts.conf file in the above link and save it in your home directory as .fonts.conf. Once that is done just reboot and you should have it working.

Before
http://www.mostlyslack.com/slackstuf...-cleartype.png

After
http://www.mostlyslack.com/slackstuf.../cleartype.png

Keep in mind that these patches are slightly different that the ones that dugan provides. I prefer these because they give a slight bold appereance to the fonts. If you want your fonts more like windows XP/7 then you probably want to look at dugans ubuntu patches.
@Daedra

Daedra, so just to confirm I download the files and then run the source.sh file in each directory to get the source. Then I build the slackbuilds and install them. After words I copy your fonts.conf file to my home directory as .fonts.conf and when I reboot fonts will look like yours in the screenshot?

Last edited by george-lappies; 05-29-2011 at 06:12 AM.
 
  


Reply


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


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration