Deutsch   English   Français   Italiano  
<l3adnfzAzcTKRev7nZ2dnZfqnPGdnZ2d@giganews.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!Xl.tags.giganews.com!local-1.nntp.ord.giganews.com!news.giganews.com.POSTED!not-for-mail
NNTP-Posting-Date: Sat, 22 Jun 2024 13:57:43 +0000
MIME-Version: 1.0
From: Robert Heller <heller@deepsoft.com>
Organization: Deepwoods Software
X-Newsreader: TkNews 3.0 (1.2.18)
Subject: Re: Build from source, get terrible fonts
In-Reply-To: <v559nk$3hr1k$2@dont-email.me>
References: <20240621211158.31b71097@lud1.home> 
    <v559nk$3hr1k$2@dont-email.me>
Newsgroups: comp.lang.tcl
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
              charset="us-ascii"
Originator: heller@sharky4.deepsoft.com
Message-ID: <l3adnfzAzcTKRev7nZ2dnZfqnPGdnZ2d@giganews.com>
Date: Sat, 22 Jun 2024 13:57:43 +0000
Lines: 70
X-Usenet-Provider: http://www.giganews.com
X-Trace: sv3-uiI9sg5zdWX+uAL+rGkvaXwgrdy93zxoXGJPqItYo4R7siL/Jg9+PMlYGdy/vmuiEy9BOUKaPchGY9m!/ghux7B8uh55sWqe2Ncp1xyw3elh/23/jvU+isX0xzpC0xf1xnGEL88xF6ecZ/CeuYgKXghW+Sl4!g+w=
X-Complaints-To: abuse@giganews.com
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.3.40
Bytes: 4445

At Sat, 22 Jun 2024 01:34:44 -0000 (UTC) Rich <rich@example.invalid> wrote:

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

It is pretty "standard" for both Debian and RedHat based distros to split off 
the "development" library packages.  Under Debian for most lib<mumble> package 
there is a corresponding lib<mumble>-dev package and under RedHat for some 
<mumble> packages there is a <mumble>-devel package.  I helieve the idea is 
the difference between a "user" experience and a "developer" experience and 
keeping things lean for servers and desktop users, by not cluttering things up 
with the header and linker files (and whatever else is needed for building 
applications).

Debian further complicates things but not necessarily exactly matching the 
lib<mumble> with the lib<mumble>-dev, which can be something of a bitch to get 
the -dev package you need installed.  Things like lib<mumble>-dev goes with 
lib<mymble>N, where N is the major version number.

>                                                                                   
> 

-- 
Robert Heller             -- Cell: 413-658-7953 GV: 978-633-5364
Deepwoods Software        -- Custom Software Services
http://www.deepsoft.com/  -- Linux Administration Services
heller@deepsoft.com       -- Webhosting Services