[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [RFR] templates://x-ttcidfont-conf/{templates}



Christian Perrier wrote:
> + If in dbout, you should choose FreeType.
Typo:     doubt

> There are two ways for XTT to calculate the font metrics:         

X-TT, for consistency.

> +  - use header info:       fast, low CPU impact but possible
> +                           miscalculations;
> +  - calculate every glyph: slow, need high speed CPU and much memory.

Given that the advantages/disadvantages are necessarily symmetrical,
and that it goes on to mention that the system resources in question
are CPU/memory, how about:

     - user header info:      fast and lightweight but fallible;
     - calculate every glyph: slow and heavyweight but reliable.

Also, in the package description:

  for X. It generates .scale file and .alias file from TrueType and CID
  fonts registered to Defoma, and calls mkfontdir (and mkcfm).

That should be either "generates the foo file and the bar file" or:

  for X. It generates .scale and .alias files from TrueType and CID
  fonts registered to Defoma, and calls mkfontdir (and mkcfm).
-- 
JBR
Ankh kak! (Ancient Egyptian blessing)
--- ../x-ttcidfont-conf.old/debian/templates	2006-08-16 13:59:12.000000000 +0100
+++ debian/templates	2007-10-18 17:19:06.000000000 +0100
@@ -3,36 +3,21 @@
 Choices: freetype, xtt
 Default: freetype
 _Description: Backend to use for TrueType handling on X:
- XFree86 4.x has two backends to handle TrueType fonts, FreeType and X-TT.
- FreeType (a simple backend) is standard, while X-TT is alternative and
- has a mechanism of decorating TrueType fonts that can create bold and
- oblique faces from a single font.
- .
- If unsure, choose FreeType.
-
-Template: x-ttcidfont-conf/font_path_change2
-Type: note
-_Description: FontPath of TrueType and CID managed by defoma is changed
- TrueType and CID font paths which defoma manages have changed
- again. Please add these entries to the "Files" section of
- /etc/X11/xorg.conf:
+ Two backends can handle TrueType fonts: FreeType and X-TT.
  .
-   FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
-   FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
+ The standard FreeType has simple features, while X-TT
+ offers a TrueType fonts decoration mechanism that can create bold and
+ oblique faces from a single font.
  .
- Also add these two directories to the "catalogue" path lists in
- /etc/X11/fs/config and/or /etc/X11/fs-xtt/config, and delete any
- mention of /usr/lib/X11/fonts/CID in any of these files.
+ If in doubt, you should choose FreeType.
 
 Template: x-ttcidfont-conf/xtt_vl
 Type: boolean
 _Description: Prefer speed over quality while rendering?
- There are two ways for XTT to calculate the font metrics:
+ There are two ways for X-TT to calculate the font metrics:
  .
-  1) use header info; fast, lazy, possible miscalculation(?).
-  2) calculate every glyph; slow, need highspeed CPU and much memory.
+  - use header info:       fast and lightweight but fallible;
+  - calculate every glyph: slow and heavyweight but reliable.
  .
- If you have a relatively fast CPU and plenty of available memory, you
- should go for (2) and decline this option. If your computer's resources
- are limited, you should go for the first solution and select this option.
-
+ With a fast CPU and enough memory, you should decline this option and
+ X-TT will calculate every glyph.
--- ../x-ttcidfont-conf.old/debian/control	2006-08-16 13:59:12.000000000 +0100
+++ debian/control	2007-10-18 17:15:29.000000000 +0100
@@ -11,10 +11,9 @@
 Architecture: all
 Depends: defoma (>= 0.5.0), ${misc:Depends}, xutils, xfonts-encodings (>= 1:1.0.0-5.1) | xfonts-base (<< 1:1)
 Conflicts: psfontmgr (<= 0.4.0)
-Description: Configure TrueType and CID fonts for X
+Description: TrueType and CID fonts configuration for X
  This package configures TrueType fonts and CID fonts (as well as CMaps)
- for X. It generates .scale file and .alias file from TrueType and CID
+ for X. It generates .scale and .alias files from TrueType and CID
  fonts registered to Defoma, and calls mkfontdir (and mkcfm).
- Both xtt and freetype backends which are used to handle TrueType fonts
- in X are supported.
-
+ .
+ The package supports both X-TT and FreeType X backends.
Template: x-ttcidfont-conf/tt_backend
Type: select
Choices: freetype, xtt
Default: freetype
_Description: Backend to use for TrueType handling on X:
 Two backends can handle TrueType fonts: FreeType and X-TT.
 .
 The standard FreeType has simple features, while X-TT
 offers a TrueType fonts decoration mechanism that can create bold and
 oblique faces from a single font.
 .
 If in doubt, you should choose FreeType.

Template: x-ttcidfont-conf/xtt_vl
Type: boolean
_Description: Prefer speed over quality while rendering?
 There are two ways for X-TT to calculate the font metrics:
 .
  - use header info:       fast and lightweight but fallible;
  - calculate every glyph: slow and heavyweight but reliable.
 .
 With a fast CPU and enough memory, you should decline this option and
 X-TT will calculate every glyph.
Source: x-ttcidfont-conf
Section: x11
Priority: optional
Maintainer: Anibal Monsalve Salazar <anibal@debian.org>
Build-Depends: debhelper (>= 4)
Build-Depends-Indep: debhelper (>= 4), defoma (>= 0.11.8)
Standards-Version: 3.7.2
Uploaders: Adeodato Simó <dato@net.com.org.es>

Package: x-ttcidfont-conf
Architecture: all
Depends: defoma (>= 0.5.0), ${misc:Depends}, xutils, xfonts-encodings (>= 1:1.0.0-5.1) | xfonts-base (<< 1:1)
Conflicts: psfontmgr (<= 0.4.0)
Description: TrueType and CID fonts configuration for X
 This package configures TrueType fonts and CID fonts (as well as CMaps)
 for X. It generates .scale and .alias files from TrueType and CID
 fonts registered to Defoma, and calls mkfontdir (and mkcfm).
 .
 The package supports both X-TT and FreeType X backends.

Reply to: