Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 81748

Summary: TrueType fonts below 8pt don't get rendered if bytecode interpreter is enabled
Product: [Retired] Red Hat Raw Hide Reporter: Felipe Alfaro Solana <felipe_alfaro>
Component: freetypeAssignee: Owen Taylor <otaylor>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: high Docs Contact:
Priority: medium    
Version: 1.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-01-13 23:55:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Description Felipe Alfaro Solana 2003-01-13 18:07:10 UTC
Description of problem:
-----------------------
Freetype has an internal bytecode interpreter that is disabled by default due to
patents. However, you can enable the bytecode interpeter by changing the spec
file from the SRPM package (please, see the repro steps for details).

If you rebuild the package (using rpmbuild -ba *.spec) and then install this new
version of freetype, some programs like OpenOffice are unable to properly render
TrueType fonts with a point size below 8pt (using a 100% zoom). Instead, nothing
is rendered.

This doesn't happen with freetype-2.1.2-12.src.rpm.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
freetype-2.1.3-4.src.rpm

How reproducible:
-----------------
Always, I have reproduced this on Red Hat 7.3 and Red Hat 8.0 using the
OpenOffice package that comes with Red Hat 8.0 (openoffice-1.0.1-8).

Steps to Reproduce:
1. Download freetype-2.1.3-4.src.rpm from RawHide
2. Modify the freetype.spec file that comes bundled inside this SRPM and modify
the line that reads:

%define without_bytecode_interpreter    1

to

%define without_bytecode_interpreter    0

3. Next, do an "rpmbuild -ba freetype.spec"
4. Once the package is built, do an "rpm -Uvh freetype-*" to upgrade/install the
new freetype package you have just compiled
5. Now, make sure openoffice-1.0.1-8.i386.rpm package is installed
6. Run OpenOffice
7. Type in some text at 6pt and you will see nothing is rendered. However, if
you choose 10pt, for example, the text is drawn with an excellent quality.
    
Actual results:
---------------
Using freetype-2.1.3-4.src.rpm recompiled with support for the built-in bytecode
interpreter, makes TrueType fonts at 8pt or less invisible!

Expected results:
-----------------
Enabling the internal bytecode interpreter should render TrueTypes fonts at any
point size.

Additional info:
----------------
This seems to affect freetype-2.1.3-3.src.rpm and freetype-2.1.3-4.src.rpm, as I
haven't been able to reproduce on freetype-2.1.12-12.src.rpm :-?

Comment 1 Felipe Alfaro Solana 2003-01-13 18:07:11 UTC
Description of problem:
-----------------------
Freetype has an internal bytecode interpreter that is disabled by default due to
patents. However, you can enable the bytecode interpeter by changing the spec
file from the SRPM package (please, see the repro steps for details).

If you rebuild the package (using rpmbuild -ba *.spec) and then install this new
version of freetype, some programs like OpenOffice are unable to properly render
TrueType fonts with a point size below 8pt (using a 100% zoom). Instead, nothing
is rendered.

This doesn't happen with freetype-2.1.2-12.src.rpm.

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
freetype-2.1.3-4.src.rpm

How reproducible:
-----------------
Always, I have reproduced this on Red Hat 7.3 and Red Hat 8.0 using the
OpenOffice package that comes with Red Hat 8.0 (openoffice-1.0.1-8).

Steps to Reproduce:
1. Download freetype-2.1.3-4.src.rpm from RawHide
2. Modify the freetype.spec file that comes bundled inside this SRPM and modify
the line that reads:

%define without_bytecode_interpreter    1

to

%define without_bytecode_interpreter    0

3. Next, do an "rpmbuild -ba freetype.spec"
4. Once the package is built, do an "rpm -Uvh freetype-*" to upgrade/install the
new freetype package you have just compiled
5. Now, make sure openoffice-1.0.1-8.i386.rpm package is installed
6. Run OpenOffice
7. Type in some text at 6pt and you will see nothing is rendered. However, if
you choose 10pt, for example, the text is drawn with an excellent quality.
    
Actual results:
---------------
Using freetype-2.1.3-4.src.rpm recompiled with support for the built-in bytecode
interpreter, makes TrueType fonts at 8pt or less invisible!

Expected results:
-----------------
Enabling the internal bytecode interpreter should render TrueTypes fonts at any
point size.

Additional info:
----------------
This seems to affect freetype-2.1.3-3.src.rpm and freetype-2.1.3-4.src.rpm, as I
haven't been able to reproduce on freetype-2.1.12-12.src.rpm :-?

Comment 2 Felipe Alfaro Solana 2003-01-13 18:11:13 UTC
*** Bug 81747 has been marked as a duplicate of this bug. ***

Comment 3 Owen Taylor 2003-01-13 23:55:15 UTC
"Not our problem". We don't ship the byte code interpreter, we don't
test the byte code interpreter, it's not clear I can even legally work
on the byte code interpreter.