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

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



Please find, for review, the debconf templates and packages descriptions for the x-ttcidfont-conf source package.

This review will last from Thursday, October 18, 2007 to Sunday, October 28, 2007.

Please send reviews as unified diffs (diff -u) against the original
files. Comments about your proposed changes will be appreciated.

Your review should be sent as an answer to this mail.

When appropriate, I will send intermediate requests for review, with
"[RFRn]" (n>=2) as a subject tag.

When we will reach a consensus, I send a "Last Chance For
Comments" mail with "[LCFC]" as a subject tag.

Finally, the reviewed templates will be sent to the package maintainer
as a bug report, and a mail will be sent to this list with "[BTS]" as
a subject tag.

Rationale:
--- ../x-ttcidfont-conf.old/debian/templates	2007-10-06 19:14:48.506351309 +0200
+++ debian/templates	2007-10-14 09:28:13.558733749 +0200
@@ -3,36 +3,22 @@
 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 dbout, you should choose FreeType.

Big rewrite of that template to avoid mentioning XFree86.

I assume, here (without knowing indeed) that this package is still
useful with X.org.....

I simplify the template a lot.

 
 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:
  .
-  1) use header info; fast, lazy, possible miscalculation(?).
-  2) calculate every glyph; slow, need highspeed CPU and much memory.
+  - use header info:       fast, low CPU impact but possible
+                           miscalculations;
+  - calculate every glyph: slow, need high speed CPU and much memory.
  .
- 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
+ XTT will calculate every glyph.

Use standard enumeration method

Avoid personnalization ("if you have a <foo> CPU").

--- ../x-ttcidfont-conf.old/debian/control	2007-10-06 19:14:48.506351309 +0200
+++ debian/control	2007-10-14 09:29:13.555693505 +0200
@@ -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

Do not make a sentence

  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
  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.

Split in paragraphs for clarity.

-- 


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 dbout, 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:
 .
  - use header info:       fast, low CPU impact but possible
                           miscalculations;
  - calculate every glyph: slow, need high speed CPU and much memory.
 .
 With a fast CPU and enough memory, you should decline this option and
 XTT will calculate every glyph.
--- x-ttcidfont-conf.old/debian/templates	2007-10-06 19:14:48.506351309 +0200
+++ x-ttcidfont-conf/debian/templates	2007-10-14 09:28:13.558733749 +0200
@@ -3,36 +3,22 @@
 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 dbout, 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:
  .
-  1) use header info; fast, lazy, possible miscalculation(?).
-  2) calculate every glyph; slow, need highspeed CPU and much memory.
+  - use header info:       fast, low CPU impact but possible
+                           miscalculations;
+  - calculate every glyph: slow, need high speed CPU and much memory.
  .
- 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
+ XTT will calculate every glyph.
--- x-ttcidfont-conf.old/debian/control	2007-10-06 19:14:48.506351309 +0200
+++ x-ttcidfont-conf/debian/control	2007-10-18 09:03:48.145255840 +0200
@@ -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
  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.
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 file and .alias file from TrueType and CID
 fonts registered to Defoma, and calls mkfontdir (and mkcfm).
 .
 The package supports both X-TT and FreeType X backends.

Attachment: signature.asc
Description: Digital signature


Reply to: