Bug#616419: tex-gyre: Please register in fontconfig as metric-compatible alternatives to the Adobe Fonts

2012-09-13 Thread Fabian Greffrath

reassign 616419 tex-gyre
tags 616419 + patch
thanks

Re-assigning back to tex-gyre, as I believe its the package's own duty 
to register its fonts as metric compatible alternatives to the Adobe 
fonts.


In the course of this, I have re-attached a much simplified fontconfig 
file.


 - Fabian
?xml version=1.0?
!DOCTYPE fontconfig SYSTEM fonts.dtd
fontconfig
!--
  TeX Gyre is an extensive remake and extension of the freely
  available 35 base PostScript fonts.
  --
	alias binding=same
	  familyHelvetica/family
	  acceptfamilyTeX Gyre Heros/family/accept
	/alias
	alias binding=same
	  familyTimes/family
	  acceptfamilyTeX Gyre Termes/family/accept
	/alias
	alias binding=same
	  familyCourier/family
	  acceptfamilyTeX Gyre Cursor/family/accept
	/alias
	alias binding=same
	  familyAvant Garde/family
	  acceptfamilyTeX Gyre Adventor/family/accept
	/alias
	alias binding=same
	  familyBookman/family
	  acceptfamilyTeX Gyre Bonum/family/accept
	/alias
	alias binding=same
	  familyNew Century Schoolbook/family
	  acceptfamilyTeX Gyre Schola/family/accept
	/alias
	alias binding=same
	  familyPalatino/family
	  acceptfamilyTeX Gyre Pagella/family/accept
	/alias
	alias binding=same
	  familyZapf Chancery/family
	  acceptfamilyTeX Gyre Chorus/family/accept
	/alias
/fontconfig


Bug#616419: tex-gyre: Please register in fontconfig as metric compatible alternatives to the Adobe Fonts

2011-03-16 Thread Fabian Greffrath

reassign 616419 fontconfig
found 616419 2.8.0-2.1
notfound 616419 2.004.1-2
tags 616419 + patch
thanks

Am 15.03.2011 09:33, schrieb Hilmar Preusse:

Could you explian exactly what has to be done or even provide the
necessary implementation?


As changes to existing fonfconfig config files are necessary, I 
reassign this request to the fontconfig package.


Dear fontconfig maintainers, citing the project home page, TeX Gyre 
is an extensive remake and extension of the freely available 35 base 
PostScript fonts distributed with Ghostscript ver. 4.00. The important 
aspect of the project is providing not only the support for TeX but 
also the cross-platform OpenType format of the fonts.


The attached patch will register these fonts as metric compatible 
alternatives for the original Type 1 fonts (which look fugly if e.g. 
used to render web pages that request the Helvetica font).


 Cheers,
- Fabian
diff -Naru fontconfig-2.8.0/conf.d/30-metric-aliases.conf fontconfig-2.8.0.TeXGyre//conf.d/30-metric-aliases.conf
--- fontconfig-2.8.0/conf.d/30-metric-aliases.conf	2009-11-16 18:24:52.0 +0100
+++ fontconfig-2.8.0.TeXGyre//conf.d/30-metric-aliases.conf	2011-03-16 10:46:08.0 +0100
@@ -12,6 +12,10 @@
 			Nimbus Sans L
 			Nimbus Roman No9 L
 			Nimbus Mono L
+		TeX Gyre fonts:
+			TeXGyreHeros
+			TeXGyreTermes
+			TeXGyreCursor
 
 		Microsoft fonts:
 			Arial
@@ -30,7 +34,7 @@
 			Thorndale AMT
 			Cumberland AMT
 
-	 Of these, URW fonts are design compatible with PostScrict fonts,
+	 Of these, URW and TeX Gyre fonts are design compatible with PostScrict fonts,
 	 and the Liberation, StarOffice, and AMT ones are compatible with
 	 Microsoft fonts.
 
@@ -53,6 +57,7 @@
 	!-- PostScript --
 	alias binding=same
 	  familyNimbus Sans L/family
+	  familyTeXGyreHeros/family
 	  default
 	  familyHelvetica/family
 	  /default
@@ -60,6 +65,7 @@
 
 	alias binding=same
 	  familyNimbus Roman No9 L/family
+	  familyTeXGyreTermes/family
 	  default
 	  familyTimes/family
 	  /default
@@ -67,6 +73,7 @@
 
 	alias binding=same
 	  familyNimbus Mono L/family
+	  familyTeXGyreCursor/family
 	  default
 	  familyCourier/family
 	  /default
@@ -161,6 +168,7 @@
 	  familyHelvetica/family
 	  accept
 	  familyNimbus Sans L/family
+	  familyTeXGyreHeros/family
 	  /accept
 	/alias
 
@@ -168,6 +176,7 @@
 	  familyTimes/family
 	  accept
 	  familyNimbus Roman No9 L/family
+	  familyTeXGyreTermes/family
 	  /accept
 	/alias
 
@@ -175,6 +184,7 @@
 	  familyCourier/family
 	  accept
 	  familyNimbus Mono L/family
+	  familyTeXGyreCursor/family
 	  /accept
 	/alias
 
diff -Naru fontconfig-2.8.0/conf.d/30-texgyre-aliases.conf fontconfig-2.8.0.TeXGyre//conf.d/30-texgyre-aliases.conf
--- fontconfig-2.8.0/conf.d/30-texgyre-aliases.conf	1970-01-01 01:00:00.0 +0100
+++ fontconfig-2.8.0.TeXGyre//conf.d/30-texgyre-aliases.conf	2011-03-16 10:42:00.0 +0100
@@ -0,0 +1,28 @@
+?xml version=1.0?
+!DOCTYPE fontconfig SYSTEM fonts.dtd
+fontconfig
+!--
+  TeX Gyre provides metric and shape compatible fonts for some Adobe families.
+  Helvetica, Courier, and Times are handled in 30-metric-aliases.conf.
+  --
+	alias binding=same
+	  familyAvant Garde/family
+	  acceptfamilyTeXGyreAdventor/family/accept
+	/alias
+	alias binding=same
+	  familyBookman/family
+	  acceptfamilyTeXGyreBonum/family/accept
+	/alias
+	alias binding=same
+	  familyNew Century Schoolbook/family
+	  acceptfamilyTeXGyreSchola/family/accept
+	/alias
+	alias binding=same
+	  familyPalatino/family
+	  acceptfamilyTeXGyrePagella/family/accept
+	/alias
+	alias binding=same
+	  familyZapf Chancery/family
+	  acceptfamilyTeXGyreChorus/family/accept
+	/alias
+/fontconfig
diff -Naru fontconfig-2.8.0/conf.d/45-latin.conf fontconfig-2.8.0.TeXGyre//conf.d/45-latin.conf
--- fontconfig-2.8.0/conf.d/45-latin.conf	2009-11-16 18:24:52.0 +0100
+++ fontconfig-2.8.0.TeXGyre//conf.d/45-latin.conf	2011-03-16 10:48:21.0 +0100
@@ -19,6 +19,7 @@
 		familyLuxi Serif/family
 		familyThorndale AMT/family
 		familyThorndale/family
+		familyTeXGyreTermes/family
 		defaultfamilyserif/family/default
 	/alias
 !--
@@ -35,6 +36,7 @@
 		familyAlbany/family
 		familyNimbus Sans L/family
 		familyLuxi Sans/family
+		familyTeXGyreHeros/family
 		defaultfamilysans-serif/family/default
 	/alias
 !--
@@ -52,6 +54,7 @@
 		familyCumberland AMT/family
 		familyCumberland/family
 		familyNimbus Mono L/family
+		familyTeXGyreCursor/family
 		defaultfamilymonospace/family/default
 	/alias
 !--
@@ -71,6 +74,7 @@
 		familyITC Zapf Chancery Std/family
 		familyZapfino/family
 		familyComic Sans MS/family
+		familyTeXGyreChorus/family
 		defaultfamilycursive/family/default
 	/alias
 
diff -Naru fontconfig-2.8.0/conf.d/60-latin.conf fontconfig-2.8.0.TeXGyre//conf.d/60-latin.conf
--- fontconfig-2.8.0/conf.d/60-latin.conf	2009-11-16 18:24:52.0 +0100
+++ fontconfig-2.8.0.TeXGyre//conf.d/60-latin.conf	2011-03-16 10:49:26.0 +0100
@@ -11,6 +11,7 @@
 			familyLuxi 

Bug#616419: tex-gyre: Please register in fontconfig as metric compatible alternatives to the Adobe Fonts

2011-03-15 Thread Hilmar Preusse
On 04.03.11 Fabian Greffrath (fab...@greffrath.com) wrote:

Hi,

 Please add a fontconfig file that registeres the TeX Gyre fonts as
 alternatives to the Adobe fonts.  If you think this should be
 implemented by fontconfig itself, feel free to reassign this
 request.
 
Could you explian exactly what has to be done or even provide the
necessary implementation?

Many thanks!

Hilmar
-- 
sigmentation fault



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#616419: tex-gyre: Please register in fontconfig as metric compatible alternatives to the Adobe Fonts

2011-03-04 Thread Fabian Greffrath
Package: tex-gyre
Version: 2.004.1-2
Severity: wishlist

Hi,

according to the project home page, the TeX Gyre Fonts are (mostly) metric
compatible replacements for the 35 base Postscript fonts by Adobe. However, the
fonts are not registered with fontconfig as such, while other similar
alternatives like the URW fonts are. This means, that fontconfig will still
select the ugly Type1 Nimbus Sans font for rendering a web page in a browser -
when this web page has requested to be rendered in Helvetica - although there
is a hinted alternative available in Opentype format that is TeX Gyre Heros.
Fontconfig simply does not know there is a more suitable alternative for screen
viewing available.

Please add a fontconfig file that registeres the TeX Gyre fonts as alternatives
to the Adobe fonts. If you think this should be implemented by fontconfig
itself, feel free to reassign this request.

 - Fabian



-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (501, 'unstable'), (101, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=de_DE.utf8, LC_CTYPE=de_DE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages tex-gyre depends on:
ii  defoma0.11.12Debian Font Manager -- automatic f
ii  dpkg  1.15.8.10  Debian package management system
ii  tex-common2.08   common infrastructure for building
ii  xfonts-utils  1:7.6~1X Window System font utility progr

tex-gyre recommends no packages.

tex-gyre suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org