Bug#467123: chromium: 467123: wrapper done, doesn't work

Paul Wise pabs at debian.org
Fri May 9 09:15:27 UTC 2008


Hi all,

I've written a plib wrapper for the parts of TexFont used by chromium,
but unfortunately it doesn't render anything. I've attached the new
versions of TexFont.cpp, TexFont.h and the patch needed to let it build
after replacing the old versions with the new versions.

Also our beloved^Wex-DPL might be willing to switch chromium to using
FTGL and TTF fonts.

<pabs> grrrrr
* pabs hates TexFont with a passion
<pabs> anyone feel like helping with getting rid of the non-free code in
chromium? I have a TexFont-compatible wrapper for the plib fnt stuff,
but it doesn't display anything :(
<sam> what does texfont do?
<pabs> its an old font format by Mark J Kilgard, basically for rendering
using OpenGL textures
<pabs> in chromium it renders the menus, scores, etc
<sam> oh, I'll see if I can replace that code with FTGL
<pabs> cool, would you like upstream svn access?
<sam> that would dangerously move my "I'll see if" towards a "I
will" :-)
<sam> let me first look at the code
<pabs> any help is most welcome, been tooo many years since I looked at
opengl stuff
<pabs> mind if I paste this into the bug report?
<sam> I started 2 months ago :-)
<sam> pabs: please do
<pabs> only catch with FTGL would be somehow converting space.txf to a
ttf font
<sam> it looks like only txfRenderFancyString() can possibly be a
problem
<pabs> chromium doesn't use that AFAICT
<sam> it's likely space.txf was created from a truetype font itself
<sam> also, using another font that's already in Debian will allow for
proper i18n
<pabs> true

-- 
bye,
pabs

http://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TexFont.cpp
Type: text/x-c++src
Size: 3132 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080509/8c27d681/attachment.cpp 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TexFont.h
Type: text/x-chdr
Size: 715 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080509/8c27d681/attachment.h 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plib-wrapper-texfont.patch
Type: text/x-patch
Size: 1412 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080509/8c27d681/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20080509/8c27d681/attachment.pgp 


More information about the Pkg-games-devel mailing list