Re: Build from source, get terrible fonts

Liste des GroupesRevenir à cl tcl 
Sujet : Re: Build from source, get terrible fonts
De : rich (at) *nospam* example.invalid (Rich)
Groupes : comp.lang.tcl
Date : 22. Jun 2024, 02:34:44
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <v559nk$3hr1k$2@dont-email.me>
References : 1
User-Agent : tin/2.6.1-20211226 ("Convalmore") (Linux/5.15.139 (x86_64))
Luc <luc@sep.invalid> wrote:
I built and installed Tcl and Tk 8.6.13 from source. And it works.
 
Except the fonts. The fonts look awful. Maybe they don't have antialias,
maybe it's something else, I'm not sure. I just know they look awful.
Really awful.
 
I also have 8.6.6 from my distro's repository and a compact/portable
version of 8.6.13 in FreeWrap, and their fonts look fine. Only my
compiled Tk looks bad.
 
Then I tried 8.6.14 and had the exact same problem.
 
Do you people have any idea why?

Run an ldd on the wish which has "good fonts" and on the one that has
"bad fonts".  Compare what is linked.  I bet you find the "bad fonts"
wish does not link to libfreetype.

What do you suggest I do to pinpoint the cause of the problem?

The above.

In case you're wondering, I configured it like this:
 
$ ./configure --disable-symbols --enable-shared --enable-threads
--enable-64bit --prefix /opt/tcltk8614
--with-tcl=/home/luc/newtcl/tcl8.6.14/unix

Check ./configure --help.

See if there is an "enable truetype" or "enable freetype" option.

If yes, rebuild while specifying that option.  If you get errors, then
make sure you have the freetype "development" package installed (too
many debian/ubuntu derived distros separate everything into "use" an
"development" packages, and then omit installing the "development"
packages (which made /some/ sense years ago when a 4G hard drive was
considered large).  But now, the result is things like 'true type'
support won't be auto-detected by configure unless the development
packages for it are first installed, leading to oddness like what you
just experienced -- the distro package works fine, your custom built
one has weirdness.

Date Sujet#  Auteur
22 Jun 24 * Build from source, get terrible fonts21Luc
22 Jun 24 +* Re: Build from source, get terrible fonts17Rich
22 Jun 24 i+* Re: Build from source, get terrible fonts15Luc
22 Jun 24 ii+- Re: Build from source, get terrible fonts1Rich
22 Jun 24 ii`* Re: Build from source, get terrible fonts13Joerg Mertens
22 Jun 24 ii +- Re: Build from source, get terrible fonts1Robert Heller
22 Jun 24 ii +* Re: Build from source, get terrible fonts10Luc
22 Jun 24 ii i+* Re: Build from source, get terrible fonts5Rich
22 Jun 24 ii ii`* Re: Build from source, get terrible fonts4Robert Heller
23 Jun 24 ii ii +* Re: Build from source, get terrible fonts2Joerg Mertens
23 Jun 24 ii ii i`- Re: Build from source, get terrible fonts1Robert Heller
25 Jun 24 ii ii `- Re: Build from source, get terrible fonts1Benjamin Riefenstahl
23 Jun 24 ii i`* Re: Build from source, get terrible fonts4Joerg Mertens
23 Jun 24 ii i `* Re: Build from source, get terrible fonts3Luc
24 Jun 24 ii i  +- Re: Build from source, get terrible fonts1Rich
24 Jun 24 ii i  `- Re: Build from source, get terrible fonts1Joerg Mertens
22 Jun 24 ii `- Re: Build from source, get terrible fonts1Rich
22 Jun 24 i`- Re: Build from source, get terrible fonts1Robert Heller
22 Jun 24 +- Re: Build from source, get terrible fonts1greg
22 Jun 24 `* Re: Build from source, get terrible fonts2Anssi Saari
22 Jun 24  `- Re: Build from source, get terrible fonts1Robert Heller

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal