🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: ut.software.x-windows
Article #1

Re: Font Smoothing for X-Windows/KDE.

#1
From: Victor Wagner
Date: Wed, 22 Apr 1998 00:00
76 lines
4010 bytes
Adrian Chung (chungm@uoguelph.ca) wrote:
: Hi all, this message has probably been posted before, but having searched 
: through recent threads and having found nothing, I decided that in order 
: to get a definitive answer I would post again...

You don't put a correct keyword into your post (and possibly your
search) Thing you are talking about is named anti-aliasing.
I know several programs which do anti-aliasing under X, namely,
xdvi, ghostscript and Adobe Acrobat Reader. But they all use 
its own fonts and render them as bitmap graphics. 

In order to make antialiasing available for all X programs,
antialiasing should be build into Xserver itself. External font server
wouldn't help, becouse current protocol of exchange between font server
and X server doesn't support antialiased fonts. 

Buildin Type1 rasterized can be made to produce antialiased fonts, but
as far as I know Xlib programming interface, it can have troubles
finding out background color of text, becouse background can be
transparent. 

Next thing - most programs in X use bitmap fonts, And there is no way
to antialias bitmap fonts. They just are shown as they are stored on
disk.  So, antialiasing support would be limited onlt by Type1 fonts
(or may be ttf, but it would require integration of xfstt into X server)

Also thing wouldn't work in situation, where there is no local fonts and
all fonts are served by remote font server (X terminals for example).

If we really want to have antialiased fonts in X, X protocol extension
to pass antialiased fonts should be developed. Then changes would be
limited to following

1. Change X server to accept this extension
2. Change character drawing routines (at least some) to take advantage
   of it (and request antialiased font whenever possible)
3. Write fontserver to server antialiased fonts. I think that it would
   be easy enough. 

But first two steps must be planned with extreme care, or they can
break a lot of existing applications. It must be also ensured, that
antialiasing X server works well with non-antialiased font server and
vice versa. 

May be Display Ghostscript is better way, and it is almost out


:    Is there a program/server/utility for X11 or KDE that will smooth 
: window fonts like font smoothing in Win95/NT?  I haven't found anything 
: so far, and am wondering whether it is because it is a useless feature, 
: or whether it is very difficult to implement.

:    Any comments would be useful, I am new to Linux and X11 and am looking 
: to learn some more about both.  
:  
:    I'm a bit baffled that no one that uses Linux/X has written a program 
: that will smooth fonts, after using anything like Win95/NT.  Maybe no one 
: uses Win95/NT, or it is difficult to do.  But after seeing what 
: KDE/X/Linux can do and what has currently been implemented, I figure this 
: would be a small point.

: Please reply to chungm@uoguelph.ca

: Thanks.,

: -Adrian

--
--------------------------------------------------
Victor Wagner			vitus@fe.msk.ru
Institute for Commerce 		Office:7-(095)-333-2022
Engineering                     Home: 7-(095)-135-46-61
Programmer			http://www.fe.msk.ru/~vitus

Technical Details
Message-ID: <6hk9rp$qdv$6@zware.space.ru>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.x.mbox.zip!not-for-mail
References: <MPG.fa7481026049cb9989680@news.uoguelph.ca>

Show Full Headers
Complete Article Headers
Message-ID: <6hk9rp$qdv$6@zware.space.ru>
Subject: Re: Font Smoothing for X-Windows/KDE.
Date: Wed, 22 Apr 1998 00:00:00 +0000
From: vitus@party.fe.msk.ru (Victor Wagner)
References: <MPG.fa7481026049cb9989680@news.uoguelph.ca>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.os.linux.x.mbox.zip!not-for-mail
X-Deja-AN: 346588897
Followup-To: comp.os.linux.misc,comp.os.linux.x,comp.windows.x,ut.software.x-windows
Organization: Russian Space Research Institute
Newsgroups: comp.os.linux.misc,comp.os.linux.x,comp.windows.x,ut.software.x-windows