On Mon, Mar 01, 2004 at 08:58:46AM -0500, Alexander R. Pruss wrote:
> > Another problem is with antialiased fonts - they are antialiased towards
> > white colour, so you can imagine how it looks on green background -
> > black letters, surrounded by white contour on a green background. I tried
> to
> > make custom non-antialiased fonts, by omitting "gray" argument of
> topalmtext,
> 
> Just use the tcl/tk shell: toplucker.tcl
> 
> > but then I had to add grayMap at the beginning of resulting *.txt file,
> 
> Not if you use fontconv rather than togray to process them.

Ok, I'll try, but see below

> 
> > and I cannot make transparent background (it was always white - perhaps
> > I just do not quite understand how font creation works :-/)
> 
> You need to extend grayfont.c to handle a colored background.  It currently
> can handle a colored foreground, after all, so it's just a matter of
> modifying the interpolation formula.  I will be happy to incorporate this
> into the codebase if nobody objects.  Of course it should only do this when
> needed.
> 
> Currently the fonts have a "transparent" background when displayed, at least
> the kerned ones.  That won't help you because, say, a 5% gray will look
> white but will not be transparent.  There is no alpha blending in PalmOS 5.
> :-)

Yes, exactly. But what I would need are not antialiased fonts, but
just fonts with transparent background (because I need them in other
encodings than palmlatin - I read english documents comfortably with
default palm fonts on green background, but I have to use gray fonts
for other encodings). Antialiased (gray) fonts, as produced by togray, 
are good, except for the white(ish) outline, so I thought of producing
black&white fonts, copying the header from gray fonts (so in effect 
creating "gray" font, but without all the levels of gray) and using that. 
Unfortunately, it does not work since the resulting font has white, not 
transparent, background.


On Mon, Mar 01, 2004 at 08:59:37AM -0500, Alexander R. Pruss wrote:
> About the border around the text.  Isn't it there in all apps?
> 

Yes, it is (the stupid white one). And it s*cks a lot, too. Overall, 
Tungsten C seems not to be very well designed product, apart from impressive
marketing-speech specifications.


-- 
 -----------------------------------------------------------
| Radovan Garab�k http://melkor.dnp.fmph.uniba.sk/~garabik/ |
| __..--^^^--..__    garabik @ melkor.dnp.fmph.uniba.sk     |
 -----------------------------------------------------------
Antivirus alert: file .signature infected by signature virus.
Hi! I'm a signature virus! Copy me into your signature file to help me spread!
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev

Reply via email to