[PATCH] Make it possible to disable the type1 font module

Juliusz Chroboczek Juliusz.Chroboczek at pps.jussieu.fr
Mon Aug 20 18:05:58 PDT 2007


> This patch adds a configure option to disable the type1 module.
> It might make sense to change the default value to no, or to remove that
> module completely (it doesn't add anything that freetype doesn't have,
> as I understand it, since cid support was removed).

  $ cd libXfont/src/Type1
  $ grep Abort *.h
  objects.h:#define   Abort(line)       FatalError(line)
  $ grep Abort *.c | wc -l
  54
  $ grep 'Abort.*Beziers' *.c
  curves.c:               Abort("Beziers this big not yet supported");
  $ grep 'Abort.*invalid orient' *.c
  hints.c:    Abort("ComputeHint: invalid orientation");
  hints.c:    Abort("ComputeHint: invalid orientation");
  spaces.c:           Abort("QueryDeviceState returned invalid orientation");
  $ grep 'Abort.*uneven' *.c
  regions.c:                       Abort("Unwind:  uneven edges");
  $

I strongly support removing this code from the X.Org sources.

                                        Juliusz



More information about the xorg mailing list