Issue 15743 - TrueType fonts are not rendered on 8bit Displays
Summary: TrueType fonts are not rendered on 8bit Displays
Status: CLOSED FIXED
Alias: None
Product: gsl
Classification: Code
Component: code (show other issues)
Version: OOo 1.1 Beta2
Hardware: PC Linux, all
: P3 Trivial (vote)
Target Milestone: OOo 1.1
Assignee: ulf.stroehler
QA Contact: issues@gsl
URL:
Keywords:
: 12451 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-06-17 19:22 UTC by ulf.stroehler
Modified: 2003-07-21 11:51 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description ulf.stroehler 2003-06-17 19:22:01 UTC
Environment:
libfreetype version 2.0.9
XFree86 version 4.2.0
no Xinerama
dpi 75x75
depth 24bit
RENDER enabled

Findings:
TrueType fonts (no matter of embedded bitmaps or not) with fontsize less than
6pt are not rendered. Example: PagePreview of OOo Writer.
When embedded bitmaps and AntiAliasing are disabled/not available, the GUI is
rendered without glyphs. 
This happens to OOo 1.1 with the newly added Bitstream Vera fonts on an 8bit
display.

To make it clear:
THIS IS A BUG IN THE FREETYPE LIBRARY NOT IN OOo.

Workaround: upgrade the system libfreetype (recommended version 2.1.4.) or
change the color depth to at least 16bit if possible.

us->hdu: is there anything you can do.
(BTW. X claims to have RENDER enabled also in 8bit mode. Is this credible?)
Comment 1 ulf.stroehler 2003-06-18 09:13:31 UTC
Additional environment information:
RENDER version 0.2
Comment 2 hdu@apache.org 2003-06-18 09:25:37 UTC
Starting... 
Comment 3 hdu@apache.org 2003-06-18 16:19:54 UTC
HDU->HDU: This specific library on the system has the 
problem that the call to 
FT_Glyph_To_Bitmap(ft_render_mono_mode) returns an 
error FT_Err_Cannot_Render_Glyph even though the input 
glyph is in the normal ft_glyph_format_outline format. Without 
getting a monochrome bitmap there is not much to display. 
 
Still analyzing... 
Comment 4 hdu@apache.org 2003-06-20 15:42:10 UTC
HDU->HDU reminder: Core problem is the change in 
http://cvs.freetype.org/cgi-bin/viewcvs.cgi/freetype2/include/freetype/freetype.h.diff?r1=1.107&r2=1.108 
where the introduction of  FT_RENDER_MODE_LIGHT 
causes a change of the FT_RENDER_MODE_MONO 
"constant", which results in a binary incompatibility  from 2.1.3 
to older versions. 
Comment 5 hdu@apache.org 2003-06-23 13:17:04 UTC
Workaround is to detect older versions and use the original 
constant's value. 
Comment 6 hdu@apache.org 2003-06-25 09:44:55 UTC
Reassigned for verification in CWS VCL13. 
Comment 7 ulf.stroehler 2003-06-27 17:03:16 UTC
Issue is resolved in child workspace vcl13. Setting to fixed. 
Comment 8 ulf.stroehler 2003-06-27 17:08:43 UTC
Issue is verified in vcl13.
Comment 9 ulf.stroehler 2003-07-01 10:44:42 UTC
*** Issue 12451 has been marked as a duplicate of this issue. ***
Comment 10 hdu@apache.org 2003-07-02 08:14:57 UTC
*** Issue 16304 has been marked as a duplicate of this issue. ***
Comment 11 ulf.stroehler 2003-07-21 11:51:47 UTC
OK in OOo RC2 (srx645_m13s2.8662).
(verified also against cws "free_libs".)
Closing Issue.