Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New freetype 2.1.4
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2, 3, 4  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
S_aIN_t
Guru
Guru


Joined: 11 May 2002
Posts: 488
Location: Ottawa

PostPosted: Sat Apr 12, 2003 1:26 pm    Post subject: Reply with quote

i have the new freetype build with the aouto hinter on. the fonts do look a little blury o me. maybe my vision is not completely gone just yet.

when i get home i think i am going to rebuild freetype and try it without auto-hinting on. it should be back to good old clear fonts.

at the same time, i am using a sony 200gs monitor. it is a crt for those who haven't seen it before.

actually i will post a screenshot of both versions when i get home. :D
_________________
"That which is overdesigned, too highly
specific, anticipates outcome; the anicipation of
outcome guatantees, if not failure, the
absence of grace."
- William Gibson, "All Tomorrow's Parties"
----
http://petro.tanreisoftware.com
Back to top
View user's profile Send private message
no usernames left
n00b
n00b


Joined: 09 Feb 2003
Posts: 72

PostPosted: Sat Apr 12, 2003 2:07 pm    Post subject: Reply with quote

I installed freetype 2.1.4 ~30 minutes ago, reemerged fontconfig and xft and now my fonts look sextastic. I installed Mozilla yesterday and the fonts were bold and ugly, but with freetype 2.1.4 they look just as good as in WinXP with ClearType enabled.
_________________
[img:39112bbc59]http://www.gamers-portal.de/images/yay.gif[/img:39112bbc59]
Back to top
View user's profile Send private message
Yinchie
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 179
Location: The Netherlands

PostPosted: Sat Apr 12, 2003 2:43 pm    Post subject: Reply with quote

Are my fonts ok?

[img:40bfa95255]http://www.relaxz.net/archives/temp.png[/img:40bfa95255]

I find them good looking :)
Back to top
View user's profile Send private message
H-Pi
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 175
Location: Delft (NL)

PostPosted: Sat Apr 12, 2003 3:20 pm    Post subject: Reply with quote

I had those great fonts after upgrading freetype and after it xfree
since x started too slow I upgraded fontconfig, xft and freetype, x started in 5 seconds instead of 1 minute, but now my beuatiful fonts are gone :cry:
I'm sure I got the newest freetype and stuff (from the ~x86 tree)
do I have to rebuild xfree? (that would bring me back to the slow x start problem)
Back to top
View user's profile Send private message
Yinchie
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 179
Location: The Netherlands

PostPosted: Sat Apr 12, 2003 4:39 pm    Post subject: Reply with quote

try fc-cache

or remerge fontconfig again.
Back to top
View user's profile Send private message
foser
Retired Dev
Retired Dev


Joined: 28 Oct 2002
Posts: 154

PostPosted: Sat Apr 12, 2003 4:54 pm    Post subject: Reply with quote

No, just rebuilding freetype is enough.

As far as the BI vs. the AH war goes, they are both good quality only it's a matter of personal preference what you like. There has been some discussion after the change to put the BI back on, i think mostly because people have adapted to its way of rendering and anything not like that seems a little off. So for now the AH is behind a use flag again, defaulting to the BI.
_________________
Gentoo Gnome Desktop team
Back to top
View user's profile Send private message
Konsti
l33t
l33t


Joined: 10 Dec 2002
Posts: 691

PostPosted: Sat Apr 12, 2003 6:15 pm    Post subject: Reply with quote

I emerged the new freetype yesterday ans saw the changes (due to not restarting X) today. What sould I say? Fonts in websites in galeon (mozilla-1.3) are absolutely perfect!!! For example, all other fonts in gtk2 apps are finally ok too!
Congratulations!!!

Konsti
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Sat Apr 12, 2003 8:17 pm    Post subject: Reply with quote

AH looks redhatish, and BCI looks more like Windows. BCI with AA has become the Gentoo style for fonts (you can see it in most screenshots). What bugs me is that it takes more than changing three lines in a text file to choose BCI/AH for your user.
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
Yinchie
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 179
Location: The Netherlands

PostPosted: Sat Apr 12, 2003 10:24 pm    Post subject: Reply with quote

I havent changed any config files to get those fonts :)
Only thing I did was emerging the stuff.
Back to top
View user's profile Send private message
H-Pi
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 175
Location: Delft (NL)

PostPosted: Sun Apr 13, 2003 12:08 pm    Post subject: Reply with quote

foser wrote:
So for now the AH is behind a use flag again, defaulting to the BI.


ok, so I want AH, I can't find in the ebuild what usefalg that is, nor in /usr/portage/profiles/use.desc
can you tell me which flag I must set?
Back to top
View user's profile Send private message
Elm0
Apprentice
Apprentice


Joined: 24 Nov 2002
Posts: 281
Location: UK

PostPosted: Sun Apr 13, 2003 12:32 pm    Post subject: Reply with quote

Going against many of the opinions in this post, I actually prefer the more redhat-style 'full' looking fonts created by having the auto-hinter off.
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Sun Apr 13, 2003 2:47 pm    Post subject: Reply with quote

I can only say that on my computer, when the BCI is turned on, most fonts are horridly ugly, with mismatched sizes and weights. It is hard to look at. What use flag is the AH behind now?
Back to top
View user's profile Send private message
no usernames left
n00b
n00b


Joined: 09 Feb 2003
Posts: 72

PostPosted: Sun Apr 13, 2003 7:08 pm    Post subject: Reply with quote

To enable the AH use USE="prebuilt" emerge freetype.
_________________
[img:39112bbc59]http://www.gamers-portal.de/images/yay.gif[/img:39112bbc59]
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Sun Apr 13, 2003 8:58 pm    Post subject: Reply with quote

The Luxi fonts look horrible with BCI. My recommendation: Compile with BCI (should also compile AH), and disable it for specific (or all) fonts in /etc/fonts/fonts.conf
_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Wed Apr 16, 2003 4:30 am    Post subject: Reply with quote

Strange... I've taken a closer look, and it looks like my font problems with the BCI turned on are localized to GTK2 apps. I have gtk2 in my use, and I've notiiced terrible fonts with BCI enabled in phoenix-cvs, gdm, and mozilla. How odd... Why is this?
Back to top
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Wed Apr 16, 2003 5:31 am    Post subject: Reply with quote

no usernames left wrote:
To enable the AH use USE="prebuilt" emerge freetype.

I thought that option was used to enable BCI (Byte Code Interpreter??). Check out the line in the ebuild, I red this:
Code:
[...]
use prebuilt || append-flags "${CFLAGS} -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
[...]


am i missing somthing? correct me if I'm wrong. If gentoo is defaulting to BCI, how do I enable AH ? Because I tried both USE="prebuilt" and USE="-prebuilt" and wathing my compilation process go, there's always this option "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER" in the gcc compile line. Any ideas?
_________________
-- A Guru was once a Beginner --
Back to top
View user's profile Send private message
silverter
Guru
Guru


Joined: 10 Apr 2002
Posts: 491
Location: Ulm, DE

PostPosted: Wed Apr 16, 2003 5:33 am    Post subject: Reply with quote

tactless wrote:
The Luxi fonts look horrible with BCI. My recommendation: Compile with BCI (should also compile AH), and disable it for specific (or all) fonts in /etc/fonts/fonts.conf

How do u disable it in /etc/fonts/font.conf? What option do I need to look at?
Thanks.
_________________
-- A Guru was once a Beginner --
Back to top
View user's profile Send private message
NoBrandHero
n00b
n00b


Joined: 16 Apr 2003
Posts: 20

PostPosted: Wed Apr 16, 2003 8:53 am    Post subject: Reply with quote

silverter wrote:

Code:
[...]
use prebuilt || append-flags "${CFLAGS} -DTT_CONFIG_OPTION_BYTECODE_INTERPRETER"
[...]


am i missing somthing? correct me if I'm wrong. If gentoo is defaulting to BCI, how do I enable AH ? Because I tried both USE="prebuilt" and USE="-prebuilt" and wathing my compilation process go, there's always this option "-DTT_CONFIG_OPTION_BYTECODE_INTERPRETER" in the gcc compile line. Any ideas?


The "||" is an or, not an and. So the append-flags part doesnt happen if "use prebuilt" returns a true value (which it will if you have USE=prebuilt).

That said, I can't guess why you're still getting the BCI define even with USE=prebuilt though.
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Wed Apr 16, 2003 3:21 pm    Post subject: Reply with quote

How do I disable the BCI for specific fonts in fonts.conf?
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Wed Apr 16, 2003 6:51 pm    Post subject: Reply with quote

I guess I figured it out. I put this:
Code:

<?xml version="1.0"?>
<match target="font" >
<test compare="more" name="pixelsize" qual="any" >
  <double>8</double>
</test>
<test compare="less" name="pixelsize" qual="any" >
  <double>12</double>
</test>
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
<edit name="autohint" mode="assign">
  <bool>true</bool>
</edit>
<match target="font" >
  <test compare="more" name="size" qual="any" >
   <double>8</double>
  </test>
  <test compare="less" name="size" qual="any" >
   <double>12</double>
  </test>
  <edit mode="assign" name="hinting" >
   <bool>true</bool>
  </edit>
  <edit name="autohint" mode="assign">
   <bool>true</bool>
  </edit>
</match>


<match target="pattern">
<test qual="any" name="family">
<string>serif</string>
</test>
<edit name="hinting" mode="assign">
<bool>true</bool>
</edit>
<edit name="autohint" mode="assign">
<bool>true</bool>
</edit>
</match>
</match>

in my /etc/fonts/local.conf, and the fonts that looked really ugly look better. Everything else looked better with the BCI, so now I have the best of both worlds. My small fonts are still antialiased, but they are only a little blurry now, with the BCI they were much worse. I may edit this further to just use AH with all fonts under 12 (leave out the greather then 8 part).
Back to top
View user's profile Send private message
tactless
l33t
l33t


Joined: 14 Jul 2002
Posts: 642
Location: Mitzpe Adi, Israel

PostPosted: Fri Apr 18, 2003 9:14 am    Post subject: Reply with quote

Here's my user-specific way of doing it:
Compile with BCI, leave it on in /etc/fonts/fonts.conf (except for those Luxi fonts, which look really nasty with BCI), and for users who want to use autohinting instead, create ~/.fonts.conf:
Code:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<fontconfig>
<!-- No BCI at all -->
        <match target="pattern">
                <edit name="hinting" mode="assign">
                        <bool>false</bool>
                </edit>
        </match>
</fontconfig>

_________________
Tactless

"If it wasn't for fog, the world would run at a really crappy framerate."

Jabber: tactless@amessage.info
Back to top
View user's profile Send private message
hanzotutu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 170

PostPosted: Fri Apr 18, 2003 9:19 pm    Post subject: Reply with quote

Wait a sec. There are "autohint", and "hinting". Which one controls which one? "hinting" is for BCI, "autohint" for autohinter? Is there any option to control AA?
Back to top
View user's profile Send private message
d3c3it
l33t
l33t


Joined: 01 Mar 2003
Posts: 765
Location: Manchester, UK

PostPosted: Fri Apr 18, 2003 9:58 pm    Post subject: Reply with quote

Yinchie wrote:
d3c3it wrote:
could someone answer me these questions?
why upgrade freetype because its marked as masked ie isnt that unstable?


No not unstable, just not tested much.
My entire system runs unstable packages and havent got any problems.

d3c3it wrote:
also who do you enable/disable Anti-Aliased on your fonts?ive read loads of theads on this and never really got what they all meant*newbie confusion*


I don't understand you...

d3c3it wrote:
but mostly why upgrade freetype does it add some new features?better ones?


Yes, looks better and such.. the fonts.

And it is always good to update packages to unstable.
New features and fixes...
For me "unstable" means not fully tested yet but new releases of something normally means new features or fixed things.
So thats why I run -everything- unstable except the kernel, I dont need the development kernel because there are just too much updated on that and I dont wanna rebuild it everytime :)


Hey just got checked your reply*never got an email about it*
im going to compile this new 1 later to my eyes the screenshots look better imo anyway ill see how it shapes up for me thou.
I dont really use "unstable" stuff, mostly because alot the time i like to have a rock system and whenever i use unstable software i always break it:( computers dont like me:)
EDIT
d3c3it wrote:
also who do you enable/disable Anti-Aliased on your fonts?ive read loads of theads on this and never really got what they all meant*newbie confusion*

what i meant was HOW do you enable AA ive read every thread and its like each 1 contridicts 1another
_________________
Some people go to counselling,
others use linux
Back to top
View user's profile Send private message
Yinchie
Apprentice
Apprentice


Joined: 05 Mar 2003
Posts: 179
Location: The Netherlands

PostPosted: Sat Apr 19, 2003 11:08 am    Post subject: Reply with quote

d3c3it wrote:
what i meant was HOW do you enable AA ive read every thread and its like each 1 contridicts 1another


I haven't done anything to get all my fonts AA.
Simply emerged Xfree, freetype, fontconfig and such things and they are AA by default, well atleast on my computer.

But some fonts you can't set AA though, e.g. the Artwiz fonts, they will look huge if you set these fonts AA.
Back to top
View user's profile Send private message
Gnufsh
Guru
Guru


Joined: 28 Dec 2002
Posts: 400
Location: Portland, OR

PostPosted: Mon Apr 21, 2003 11:14 am    Post subject: Reply with quote

"hinting" controls general behavior. It will by default use the BCI if hinting is enabled. If you prefer the autohinter, enable autohint. If hinting if off, neither the BCI or the AH will be used. At least, that's the way it seems to me.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page Previous  1, 2, 3, 4  Next
Page 3 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum