Re: [Fonts] Amaya (was Xft for OpenGL)
--- tk [EMAIL PROTECTED] wrote: What are your plans using Opengl fonts ? We are working on an experimental system that only supports OpenGL (no XWindows). I am to try to bring Mozilla up on it if can be done with a reasonable amount of work. I have done work on Mozilla in the past so I am somewhat familar with it. Since the XWindows support in Mozilla already uses Freetype to generate bitmaps I was going to port this code to use OpenGL. Bringing Mozilla up on OpenGL as another platform would have some neat side effects. It would allow a single gfx to be used on Linux, Mac and Windows. It would also make it much easier to implement a lot of SVG. Right now Mozilla SVG is just painting to a bitmap, they have to reimplement everything, a graphics subsystem, fonts, etc. I've also looked at the demo of Evas using X and OpenGL where there is a huge speed difference between the two. I'm curious to see if a large app like Mozilla would see the same speed differences. = Jon Smirl [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
Re: [Fonts]Xft for OpenGL
It would be really nice for embedded systems to have Freetype, fontconfig and Pango packaged into a standalone library without any dependencies on the rest of X or glib. GTK and Xlib versions of Mozilla are already basically using all three. Freetype is being used as is but with a horribly messy kludge to look for missing glyphs. On Windows Mozilla avoids the kludge by accessing the loca tables which Freetype doesn't provide. The same capability as fontconfig has been reimplemented in Mozilla. And Sun has just built in a de-glib'd version of Pango to get shaping support for Thai. Now I'm going through the Mozilla version of this code again and making it platform independent for my own needs. Jon Smirl [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
Re: [Fonts] Amaya (was Xft for OpenGL)
What is Amaya doing about languages needing shapers like Thai? Amaya might be another customer for an integrated Freetype, fontconfig, pango. Is Amaya using texture mapping with OpenGL for anti-aliased fonts? Using the Freetype cache or something else? = Jon Smirl [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts
Re: [Fonts]Xft for OpenGL
--- Keith Packard [EMAIL PROTECTED] wrote: The 1.0 Mozilla code for using FreeType does not use fontconfig; it uses I meant that Mozilla has implemented code similar to fontconfig, not that it used fontconfig. Another case of this is the MiniXFT driver in Pango. ..missing glyph, loca... make the process somewhat faster, but still not fast enough to avoid needing to cache the results. The Linux code is detecting the missing glyphs in all fonts and caching to disk. I have a lot of fonts installed and this processes takes over 2 minutes on a 1.1Ghz Athlon. But it only happens once. The Windows code uses the loca table to compute the data when the font file is first opened. It is then cached in memory. It is fast enough that I can only even notice it when I load Unicode Arial. I'll bet they just integrated the handful of glib functions needed by pango -- glib really isn't a gtk-specific library, it's just a bunch of C utility routines. I didn't dig into the Sun code yet. Here's a pointer. http://lxr.mozilla.org/seamonkey/source/extensions/ctl/ one provides for a shared font database among all applications. Of course, I haven't demonstrated that fontconfig is up to the task in all cases yet, but I'm willing to try. How does fontconfig interact with CSS rules for font selection? How close is the fontconfig patch to being ready? After Mozilla 1.0 is out it should be easier to add code that isn't 100% stable. = Jon Smirl [EMAIL PROTECTED] __ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com ___ Fonts mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/fonts