summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/20110513/004662.html
blob: 40d5d24bbe0ac701321633a1ccb845e7cf87d941 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
 <HEAD>
   <TITLE> [Mageia-dev] why not disable bytecode interpreter in freetype2 ?
   </TITLE>
   <LINK REL="Index" HREF="index.html" >
   <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20why%20not%20disable%20bytecode%20interpreter%20in%20freetype2%20%3F&In-Reply-To=%3C201105131746.38818.bgmilne%40staff.telkomsa.net%3E">
   <META NAME="robots" CONTENT="index,nofollow">
   <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
   <LINK REL="Previous"  HREF="004660.html">
   <LINK REL="Next"  HREF="004661.html">
 </HEAD>
 <BODY BGCOLOR="#ffffff">
   <H1>[Mageia-dev] why not disable bytecode interpreter in freetype2 ?</H1>
    <B>Buchan Milne</B> 
    <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20why%20not%20disable%20bytecode%20interpreter%20in%20freetype2%20%3F&In-Reply-To=%3C201105131746.38818.bgmilne%40staff.telkomsa.net%3E"
       TITLE="[Mageia-dev] why not disable bytecode interpreter in freetype2 ?">bgmilne at staff.telkomsa.net
       </A><BR>
    <I>Fri May 13 17:46:38 CEST 2011</I>
    <P><UL>
        <LI>Previous message: <A HREF="004660.html">[Mageia-dev] why not disable bytecode interpreter in freetype2 ?
</A></li>
        <LI>Next message: <A HREF="004661.html">[Mageia-dev] why not disable bytecode interpreter in freetype2 ?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4662">[ date ]</a>
              <a href="thread.html#4662">[ thread ]</a>
              <a href="subject.html#4662">[ subject ]</a>
              <a href="author.html#4662">[ author ]</a>
         </LI>
       </UL>
    <HR>  
<!--beginarticle-->
<PRE>On Friday, 13 May 2011 17:28:24 Z&#233; wrote:
&gt;<i> 2011/5/13 Buchan Milne &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">bgmilne at staff.telkomsa.net</A>&gt;:
</I>&gt;<i> &gt; On Friday, 13 May 2011 11:12:41 Z&#233; wrote:
</I>&gt;<i> &gt;&gt; 2011/5/13 Z&#233; &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">mmodem00 at gmail.com</A>&gt;:
</I>&gt;<i> &gt;&gt; &gt; 2011/5/13 Dimitrios Glentadakis &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">dglent at gmail.com</A>&gt;:
</I>&gt;<i> &gt;&gt; &gt;&gt; &#931;&#964;&#953;&#962; &#928;&#945;&#961;&#945;&#963;&#954;&#949;&#965;&#942; 13 &#924;&#940;&#953;&#959;&#962; 2011 00:39:55 Z&#233; &#947;&#961;&#940;&#968;&#945;&#964;&#949;:
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; 2011/5/12 Dick Gevers &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">dvgevers at xs4all.nl</A>&gt;:
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; &gt; On Thu, 12 May 2011 13:20:39 +0200, Dimitrios Glentadakis wrote
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; &gt; about
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; perl -pi -e 's|#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER|/\*
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; #define TT_CONFIG_OPTION_BYTECODE_INTERPRETER  \*/|'
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; include/freetype/config/ftoption.h
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; 
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; dont forget to also increase Release to avoid conflicts with
</I>&gt;<i> &gt;&gt; &gt;&gt;&gt; existant freetype2, and then build the package.
</I>&gt;<i> &gt;&gt; &gt;&gt; 
</I>&gt;<i> &gt;&gt; &gt;&gt; Why do all these things when you can simply add an entry in the
</I>&gt;<i> &gt;&gt; &gt;&gt; font.conf file ?
</I>&gt;<i> &gt;&gt; &gt; 
</I>&gt;<i> &gt;&gt; &gt; Thats a fact, but hat should happen is that freetype2 should have
</I>&gt;<i> &gt;&gt; &gt; bytecode interpreter disabled by default, since so far users prefer
</I>&gt;<i> &gt;&gt; &gt; it.
</I>&gt;<i> &gt;&gt; 
</I>&gt;<i> &gt;&gt; Seams Fedora choosed to finally fix it, it reverted freetype2 with a
</I>&gt;<i> &gt;&gt; patch to disable bytecode interpreter. -&gt;
</I>&gt;<i> &gt;&gt; <A HREF="https://bugzilla.redhat.com/show_bug.cgi?id=547532">https://bugzilla.redhat.com/show_bug.cgi?id=547532</A>
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; No, this is not what is covered in this bug report.
</I>&gt;<i> 
</I>&gt;<i> Yes, correct i miss understood what as the bug report about.
</I>&gt;<i> 
</I>&gt;<i> &gt; Firstly, here are the non-problems:
</I>&gt;<i> &gt; 1)The bytecode interpreter *can* make fonts look better, *if* they have
</I>&gt;<i> &gt; hinting in the fonts. Not all ttf fonts have hinting, but AFAIK all the
</I>&gt;<i> &gt; MS fonts *do* have hinting.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; So, historically, the recommended approach was to use the PLF freetype
</I>&gt;<i> &gt; *if* you had imported MS fonts (e.g. from a dual-boot Windows
</I>&gt;<i> &gt; installation).
</I>&gt;<i> 
</I>&gt;<i> Well i always avoid using PLF freetype and for what i have read in
</I>&gt;<i> ML's all the users that answered to it said that also avoid PLF
</I>&gt;<i> freetype.
</I>&gt;<i> 
</I>&gt;<i> So far for hat i have seen, all users prefered like fonts were
</I>&gt;<i> rendered wen patents were still valid...
</I>
Were *all* these users using *hinted* fonts? I think they weren't using hinted 
fonts at all.

&gt;<i> &gt; 2)The Freetype autohinter was implemented later, and improves things for
</I>&gt;<i> &gt; unhinted fonts, but hinted fonts still looked better with the bytecode
</I>&gt;<i> &gt; interpreter.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; This is the problem:
</I>&gt;<i> &gt; 3)If the bytecode interpreter was enabled, auto-hinting was disabled (or,
</I>&gt;<i> &gt; could be, for 'medium' and 'heavy' hinting settings) for unhinted fonts.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; The Fedora bug isn't about disabling the bytecode interpreter, but by
</I>&gt;<i> &gt; still allowing auto-hinting for unhinted fonts if the bytecode
</I>&gt;<i> &gt; interpreter.
</I>&gt;<i> &gt; 
</I>&gt;<i> &gt; *This* is the right fix. Your insistence to *disable* the bytecode
</I>&gt;<i> &gt; interpreter (leaving users with *no* options, in case they need hinted
</I>&gt;<i> &gt; fonts) is the wrong fix.
</I>&gt;<i> 
</I>&gt;<i> Well this way users cant also set to have autohint, seams theres
</I>&gt;<i> always some app failing.
</I>
?

We need to apply the patch that enables the autohinter for unhinted fonts, 
even if the bytecode interpreter is enabled, that is available from the bug 
report for which you provided the link.

&gt;<i> Why not having it disabled by default?
</I>
So, you haven't read what I wrote in (3)?

&gt;<i> users will always be able to
</I>&gt;<i> set their preferences about using or not autohint, but that way
</I>&gt;<i> ensures that all fonts are better rended.
</I>
No, you ignore the case where some hinted fonts are almost unusable without 
the bytecode interpreter, and others where they are rendered better.

&gt;<i> All this came up after patents end in wich showed users how fonts
</I>&gt;<i> appear poor rended, until that point i didnt saw any complains about
</I>&gt;<i> fonts, and this is what should be fixed.
</I>
You contradict yourself ... and you can't make blanket statements of &quot;how 
fonts appear poor rended&quot;, as it depends on the font (and whether it is hinted 
or not).

Regards,
Buchan
</PRE>

<!--endarticle-->
    <HR>
    <P><UL>
        <!--threads-->
	<LI>Previous message: <A HREF="004660.html">[Mageia-dev] why not disable bytecode interpreter in freetype2 ?
</A></li>
	<LI>Next message: <A HREF="004661.html">[Mageia-dev] why not disable bytecode interpreter in freetype2 ?
</A></li>
         <LI> <B>Messages sorted by:</B> 
              <a href="date.html#4662">[ date ]</a>
              <a href="thread.html#4662">[ thread ]</a>
              <a href="subject.html#4662">[ subject ]</a>
              <a href="author.html#4662">[ author ]</a>
         </LI>
       </UL>

<hr>
<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
mailing list</a><br>
</body></html>