summaryrefslogtreecommitdiff
path: root/patents.html
blob: bbc5f01ed9628b9d60a33465ba07a90c5af1a81a (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
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
          "https://www.w3.org/TR/html4/loose.dtd">

<html lang="en">

<head>
  <meta http-equiv="Content-Type"
        content="text/html; charset=utf-8">
  <meta http-equiv="Content-Style-Type"
        content="text/css">
  <meta http-equiv="Content-Script-Type"
        content="text/javascript">

  <meta name="description"
        content="FreeType and Patents">
  <meta name="keywords"
        content="FreeType patents TrueType Apple legal infringing
                 interpreter Microsoft ClearType">

  <link rel="icon"
        href="image/favicon_-90.ico">
  <link rel="shortcut icon"
        href="image/favicon_-90.ico">
  <link rel="stylesheet"
        type="text/css"
        href="css/freetype2_-90.css">

  <script type="text/javascript"
          src="js/jquery-1.11.0.min.js">
  </script>
  <script type="text/javascript"
          src="js/jquery.ba-resize.min.js">
  </script>
  <script type="text/javascript"
          src="js/freetype2.js">
  </script>

  <title>FreeType and Patents</title>
</head>

<body>

<div id="top"
     class="bar">
  <h1><a href="index.html">FreeType</a> &amp; Patents</h1>
</div>


<div id="wrapper">

<div class="colmask leftmenu">
  <div class="colright">
    <div class="col1wrap">
      <div class="col1">


        <!-- ************************************************** -->

        <div id="bytecode-patents">
          <h2>The TrueType Bytecode Patents Have Expired!</h2>

          <p>Since May 2010, all patents related to bytecode hinting
            have expired worldwide.  It it thus no longer necessary to
            disable the bytecode interpreter, and starting with
            FreeType version 2.4, it is enabled by default.</p>

          <p>The affected patents were</p>

          <div class="quote">
            <p><a href="https://patents.google.com/patent/US5155805">
                Patent US5155805:<br>
                <em>Method and apparatus for moving control points
                  in displaying digital typeface on raster output
                  devices</em></a></p>

            <p><a href="https://patents.google.com/patent/US5159668">
                Patent US5159668:<br>
                <em>Method and apparatus for manipulating outlines
                  in improving digital typeface on raster output
                  devices</em></a></p>

            <p><a href="https://patents.google.com/patent/US5325479">
                Patent US5325479:<br>
                <em>Method and apparatus for moving control points
                  in displaying digital typeface on raster output
                  devices</em></a></p>
          </div>
        </div>


        <!-- ************************************************** -->

        <div id="other-patents">
          <h2>ClearType Color Filtering Patent Issues</h2>

          <p>A survey from June 2007 shows no less than ten patents
            from Microsoft that cover ClearType.</p>

          <div class="quote">
            <p><a href="https://patents.google.com/patent/US6219025">
                Patent US6219025:<br>
                <em>Mapping image data samples to pixel sub-components
                  on a striped display device</em></a></p>

            <p><a href="https://patents.google.com/patent/US6225973">
                Patent US6225973:<br>
                <em>Mapping samples of foreground/background color
                  image data to pixel sub-components</em></a></p>

            <p><a href="https://patents.google.com/patent/US6239783">
                Patent US6239783:<br>
                <em>Weighted mapping of image data samples to pixel
                  sub-components on a display device</em></a></p>

            <p><a href="https://patents.google.com/patent/US6243070">
                Patent US6243070:<br>
                <em>Method and apparatus for detecting and reducing
                  color artifacts in images</em></a></p>

            <p><a href="https://patents.google.com/patent/US6282327">
                Patent US6282327:<br>
                <em>Maintaining advance widths of existing characters
                  that have been resolution enhanced </em></a></p>

            <p><a href="https://patents.google.com/patent/US6307566">
                Patent US6307566:<br>
                <em>Methods and apparatus for performing image
                  rendering and rasterization operations</em></a></p>

            <p><a href="https://patents.google.com/patent/US6393145">
                Patent US6393145:<br>
                <em>Methods apparatus and data structures for
                  enhancing the resolution of images to be rendered on
                  patterned display devices </em></a></p>

            <p><a href="https://patents.google.com/patent/US6421054">
                Patent US6421054:<br>
                <em>Methods and apparatus for performing grid fitting
                  and hinting operations</em></a></p>

            <p><a href="https://patents.google.com/patent/US6624828">
                Patent US6624828:<br>
                <em>Method and apparatus for improving the quality of
                  displayed images through the use of user reference
                  information </em></a></p>

            <p><a href="https://patents.google.com/patent/US6973210">
                Patent US6973210:<br>
                <em>Filtering image data to obtain samples mapped to
                pixel sub-components of a display device</em></a></p>
          </div>

          <p>Essentially, these patents cover several different
            things, which can be grossly sub-divided into</p>

          <ul>
            <li>the process of displaying images where data is
              &lsquo;mapped&rsquo; to individual (e.g., LCD)
              sub-pixels, instead of whole pixels,</li>
            <li>the process of displaying said images after filtering
              them for various purposes, e.g., reducing color fringes,
              and</li>
            <li>the process of dealing with metrics and spacing
              rounding in a sub-pixel world.</li>
          </ul>

          <p>It is possible that Microsoft acquired other patents
            related to the field in the previous years.</p>

          <p>Please note that above claims do <em>not</em> cover the
              enhanced interpretation of TrueType bytecode
              instructions as discussed
              in <a href="https://www.microsoft.com/typography/cleartype/truetypecleartype.aspx">Greg
              Hitchcock's whitepaper</a>.</p>
        </div>

        <h3>Patent Claims, Prior Art, and Validity</h3>

        <p>Steve Gibson claims that
          the <a href="https://www.grc.com/ctwho.htm">technique used by
          ClearType is a reinvention of a 20-years old thing used on
            the Apple II</a>.  His exact words are</p>

        <div class="quote">
          <p>Thus, Microsoft's &lsquo;ClearType&rsquo; application of
            sub-pixel text rendering does not represent the dramatic
            breakthrough that they claim and <em>it can not be the
              valid subject for intellectual property
              acquisition</em>.</p>
        </div>

        <p>(emphasis added).</p>

        <p>Unfortunately, we believe that Mr.&nbsp;Gibson doesn't
          understand patent law well.  Under the current US regime,
          any minor improvement to a previous technique can be
          considered an &lsquo;invention&rsquo; and
          &lsquo;protected&rsquo; by a patent under the right
          circumstances (e.g., if it is not totally trivial).  If we
          look at
          the <a href="https://www.google.com/patents/US6219025">first
            ClearType related patent mentioned above</a>, we see that
          the <a href="https://www.google.com/patents/US4136359">Apple&nbsp;II
            Wozniak patent</a> covering this machine's display technique
          is listed <em>first</em> in the patents' citations.  This
          shows that both Microsoft and the patent examiner who
          granted the patents were aware of this &lsquo;prior
          art&rsquo;.</p>

        <p>We are not trying to defend Microsoft here, just wanting to
          avoid feeding false hopes to people who would like to see
          the patent revoked.</p>

        <p>Another popular view is
          that <a href="https://answers.google.com/answers/threadview?id=723683">these
          patents are too general to be enforceable</a>.  Well, to be
          fair, some of the claims in these patents do indeed use
          rather vague descriptive terms (even for a patent lawyer or
          an &lsquo;expert in the field&rsquo;).  This is
          absolutely <em>not</em> surprising, it is a direct
          consequence of how the patent game works.</p>

        <p>We won't cover this in greater detail since there
          are <a href="https://www.iusmentis.com/patents/claims/">many</a>
          <a href="https://www.tms.org/pubs/journals/JOM/matters/matters-9007.html">interesting</a>
          <a href="https://en.wikipedia.org/wiki/Claim_(patent)#Basic_types_and_categories">pages</a>
          on the subject.  However, in case you invalidate a single
          patent claim (e.g., with prior art), that doesn't mean the
          whole patent is busted.  Any other independent <em>and</em>
          dependent claim can still be enforced.</p>

        <p>Some of these patents have up to 40 claims. Invalidating
        them is going to need <em>serious</em> prior-art, even if
        there are also strong chances to invalidate the most general
        claims in there.  For example, many of the cheap LCD screens
        on digital cameras have used a screen where each pixel is
        either red, green, or blue, with colour images directly mapped
        to them; they have been doing it for years, even when
        displaying text or menus, and this corresponds exactly to what
        the most general claims cover.  If we can find a proof that
        the technique was deployed before the patent's filing date, we
        could have valid prior art to bust these.</p>

        <h3>Possible Work-Arounds</h3>

        <p>People have proposed alternatives to the ClearType color
          filtering method.  A very good example is
          the <a href="http://www.oyhus.no/SubLCD.html">SubLCD</a>
          technique, which employs a different way to use sub-pixels
          compared to Microsoft's ClearType implementation.  Its
          author even says it doesn't infringe the ClearType
          patents.</p>

        <p>Unfortunately, the FreeType team doesn't share this
          enthusiasm.  The reason is precisely the very vague patent
          claims described previously.  There is a non-negligible
          (even if small) chance that these claims also cover the
          SubLCD technique.  The situation would probably be different
          if we could invalidate the broader patent claims, but this
          is not the case currently.</p>

        <h3>Does FreeType Implement Any of the Patented Techniques?</h3>

        <p>Technically, no.  The patents cover the whole process of
          generating and displaying sub-pixel images.  Since the font
          engine doesn't do the display part, it cannot infringe.
          Apart from that, FreeType has provided the capability of
          converting vector shapes into un-filtered sub-pixel images
          for a long time.</p>

        <p>By default, FreeType's scan-line converter returns
          &lsquo;gray&rsquo; sub-pixel images, where for each pixel
          the color components are equal (this is, R=G=B).  The result
          is visually identical to gray anti-aliasing and cannot
          infringe any of the ClearType patents.</p>

        <p>Similarly, the LCD-specific filtering API is disabled by
          default, which means that it returns an error and doesn't
          alter sub-pixel images.</p>

        <p>You can override these limitations by activating option
          <code>FT_CONFIG_OPTION_SUBPIXEL_RENDERING</code> in
          FreeType's <code>ftoption.h</code> configuration file, but
          you should do that at your own risk.</p>


        <!-- ************************************************** -->

        <div class="updated">
          <p>Last update: 13-Feb-2018</p>
        </div>
      </div>
    </div>


    <!-- ************************************************** -->

    <div class="col2">
    </div>
  </div>
</div>


<!-- ************************************************** -->

<div id="TOC">
  <ul>
    <li class="funding">
      <form action="https://www.paypal.com/cgi-bin/webscr"
            method="post"
            target="_top">
        <input type="hidden"
               name="cmd"
               value="_s-xclick">
        <input type="hidden"
               name="hosted_button_id"
               value="SK827YKEALMT4">
        <input type="image"
               src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif"
               name="submit"
               alt="PayPal - The safer, easier way to pay online!">
        <img alt=""
             border="0"
             src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif"
             width="1"
             height="1">
      </form>
    </li>
    <li class="primary">
      <a href="index.html">Home</a>
    </li>
    <li class="primary">
      <a href="index.html#news">News</a>
    </li>
    <li class="primary">
      <a href="freetype2/docs/index.html">Overview</a>
    </li>
    <li class="primary">
      <a href="freetype2/docs/documentation.html">Documentation</a>
    </li>
    <li class="primary">
      <a href="developer.html">Development</a>
    </li>
    <li class="primary">
      <a href="contact.html"
         class="emphasis">Contact</a>
    </li>

    <li>
      &nbsp; <!-- separate primary from secondary entries -->
    </li>

    <li class="secondary">
      <a href="#bytecode-patents">Bytecode Patents</a>
    </li>
    <li class="secondary">
      <a href="#other-patents">Other Patents</a>
    </li>
  </ul>
</div>

</div> <!-- id="wrapper" -->

<div id="TOC-bottom">
</div>

</body>
</html>