Re: does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-25 Thread Peter Samuelson

[Miernik]
 gs-common package depends on gsfonts package, what if I don't want to
 use these Type 1 fonts at all, and would purge the gsfonts package.
 Would GS work with TTF fonts which are on my system instead?

gs is a PostScript interpreter.  The PostScript language spec requires
a specific set of 14 fonts to be present.  (Whether they are Type 1 or
Type 2 or Type 42 doesn't really matter.)  If a document wants to use
other fonts, it normally has to embed them, but any PostScript document
can freely assume that the standard fonts will be present.

So tell us.  Is gs able to determine from among your TrueType fonts
which ones might have faces and metrics similar enough to the standard
PostScript ones to be substituted?  Can it do this on any system with
any mix of TrueType fonts?  Are you sure?

Peter


signature.asc
Description: Digital signature


Re: does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-25 Thread Peter Samuelson

[Peter Samuelson]
 So tell us.  Is gs able to determine from among your TrueType fonts
 which ones might have faces and metrics similar enough to the
 standard PostScript ones to be substituted?  Can it do this on any
 system with any mix of TrueType fonts?  Are you sure?

Also, try running 'apt-cache rdepends gs' some time.  Consider how many
of the packages which depend on gs also depend on its ability to
display the standard 14 PostScript fonts.  Probably most of them,
frankly.  If you want to weaken the gs - gsfonts dependency to a
Recommends, you will have to add a lot of other dependencies on
gsfonts.


signature.asc
Description: Digital signature


Re: does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-25 Thread Miernik
On Mon, Jul 25, 2005 at 03:17:47AM -0500, Peter Samuelson wrote:
 
 [Miernik]
  gs-common package depends on gsfonts package, what if I don't want to
  use these Type 1 fonts at all, and would purge the gsfonts package.
  Would GS work with TTF fonts which are on my system instead?
 
 gs is a PostScript interpreter.  The PostScript language spec requires
 a specific set of 14 fonts to be present. 

Can you list these 14 fonts, which of these 35 fonts are the 14
required?

szrenica:~$ fc-list | sort | grep -v DejaVu
Century Schoolbook L:style=Bold
Century Schoolbook L:style=Bold Italic
Century Schoolbook L:style=Italic
Century Schoolbook L:style=Roman
Dingbats:style=Regular
Nimbus Mono L:style=Bold
Nimbus Mono L:style=Bold Oblique
Nimbus Mono L:style=Regular
Nimbus Mono L:style=Regular Oblique
Nimbus Roman No9 L:style=Medium
Nimbus Roman No9 L:style=Medium Italic
Nimbus Roman No9 L:style=Regular
Nimbus Roman No9 L:style=Regular Italic
Nimbus Sans L:style=Bold
Nimbus Sans L:style=Bold Condensed
Nimbus Sans L:style=Bold Condensed Italic
Nimbus Sans L:style=Bold Italic
Nimbus Sans L:style=Regular
Nimbus Sans L:style=Regular Condensed
Nimbus Sans L:style=Regular Condensed Italic
Nimbus Sans L:style=Regular Italic
Standard Symbols L:style=Regular
URW Bookman L:style=Demi Bold
URW Bookman L:style=Demi Bold Italic
URW Bookman L:style=Light
URW Bookman L:style=Light Italic
URW Chancery L:style=Medium Italic
URW Gothic L:style=Book
URW Gothic L:style=Book Oblique
URW Gothic L:style=Demi
URW Gothic L:style=Demi Oblique
URW Palladio L:style=Bold
URW Palladio L:style=Bold Italic
URW Palladio L:style=Italic
URW Palladio L:style=Roman
szrenica:~$

 (Whether they are Type 1 or Type 2 or Type 42 doesn't really matter.)
 If a document wants to use other fonts, it normally has to embed them,
 but any PostScript document can freely assume that the standard fonts
 will be present.
 
 So tell us.  Is gs able to determine from among your TrueType fonts
 which ones might have faces and metrics similar enough to the standard
 PostScript ones to be substituted?  Can it do this on any system with
 any mix of TrueType fonts?  Are you sure?

szrenica:~$ fc-list | sort | grep Deja
DejaVu Sans Condensed:style=Bold
DejaVu Sans Condensed:style=BoldOblique
DejaVu Sans Condensed:style=Condensed
DejaVu Sans Condensed:style=Oblique
DejaVu Sans Mono:style=Bold
DejaVu Sans Mono:style=BoldOb
DejaVu Sans Mono:style=Oblique
DejaVu Sans Mono:style=Roman
DejaVu Sans:style=Bold
DejaVu Sans:style=BoldOblique
DejaVu Sans:style=Book
DejaVu Sans:style=Oblique
DejaVu Serif Condensed:style=Bold
DejaVu Serif Condensed:style=BoldOblique
DejaVu Serif Condensed:style=Condensed
DejaVu Serif Condensed:style=Oblique
DejaVu Serif:style=Bold
DejaVu Serif:style=BoldOblique
DejaVu Serif:style=Oblique
DejaVu Serif:style=Roman
szrenica:~$

I am not proposing to drop the gsfonts dependency completely, but I
would like to be changed to gsfonts | ttf-dejavu if possible. If some
other fonts would meet the criteria of the 14-font Postscript standard,
these could be added as alternatives too.

-- 
Miernik _  xmpp:[EMAIL PROTECTED]
___/___/  mailto:[EMAIL PROTECTED]
Protect Europe from a legal disaster. Petition against software patents
http://www.noepatents.org/index_html?LANG=en


pgpEYUXoag3Kw.pgp
Description: PGP signature


Re: does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-25 Thread Peter Samuelson

[Miernik]
 Can you list these 14 fonts, which of these 35 fonts are the 14
 required?

Well, it's been awhile, but as I recall...

  Times Roman - regular, italic, bold, bold italic
  Helvetica - regular, oblique, bold, bold oblique
  Courier - regular, oblique, bold, bold oblique

...and two more, must've been symbol sets.


signature.asc
Description: Digital signature


Re: does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-25 Thread Miernik
On Mon, Jul 25, 2005 at 06:14:17AM -0500, Peter Samuelson wrote:


These can be matched with the 12 DejaVu TTF fonts:

   Times Roman - regular, italic, bold, bold italic

DejaVu Serif :style= Roman, Oblique, Bold, BoldOblique

   Helvetica - regular, oblique, bold, bold oblique

DejaVu Sans :style= Book, Oblique, Bold, BoldOblique

   Courier - regular, oblique, bold, bold oblique

DejaVu Sans Mono :style= Roman, Oblique, Bold, BoldOb

 ...and two more, must've been symbol sets.

Than these can just be matched to DejaVu Sans for example, as now with
Unicode, symbols can be in any font.

Do you see any more problems with changing 

Depends: gsfonts

to

Depends: gsfonts | ttf-dejavu

?

-- 
Miernik _  xmpp:[EMAIL PROTECTED]
___/___/  mailto:[EMAIL PROTECTED]
Why software shouldn't be covered by patents
http://bladeenc.mp3.no/articles/software_patents.html


pgpwDpefurUXU.pgp
Description: PGP signature


Re: does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-25 Thread Miros/law Baran
25.07.2005 pisze Miernik ([EMAIL PROTECTED]):

 These can be matched with the 12 DejaVu TTF fonts:

No, they cannot be matched. DejaVu fonts do not provide exactly the
same metrics as the standard PS fonts. Anyways, what's your problem
with these standard Type1 fonts?

Jubal

-- 
[ Miros/law L Baran, baran-at-knm-org-pl, neg IQ, cert AI ] [ 0101010 is ]
[ BOF2510053411, makabra.knm.org.pl/~baran/, alchemy pany ] [ The Answer ] 

 Ninety percent of everything is bullshit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-25 Thread Miles Bader
Peter Samuelson [EMAIL PROTECTED] writes:
 Can you list these 14 fonts, which of these 35 fonts are the 14
 required?

 Well, it's been awhile, but as I recall...

   Times Roman - regular, italic, bold, bold italic
   Helvetica - regular, oblique, bold, bold oblique
   Courier - regular, oblique, bold, bold oblique

Symbol (no variants)

I expect some documents will try to use the other standard PS fonts
though, especially Palatino and ZapfDingbats (the others being Bookman,
AvanteGarde, NewCenturySchoolbook, ZapfChancery).

-Miles
-- 
Next to fried food, the South has suffered most from oratory.
-- Walter Hines Page


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-25 Thread Peter Samuelson

[Miernik]
 Do you see any more problems with changing 
 
 Depends: gsfonts
 
 to
 
 Depends: gsfonts | ttf-dejavu

So here's what you do if you want to make this happen:

gs uses /usr/share/gs-gpl/8.01/lib/Fontmap (or, rather, Fontmap.GS) to
map PostScript font names, including the standard 14, to filenames.

This file is provided by gs-gpl, not by gsfonts, which is a bit
perverse but I'm sure there's a reason.  You'd have to arrange to
replace or augment this file somehow when the ttf-dejavu package is
installed and the user indicates his desire to use that instead.

Then you can do some testing to make sure gs doesn't have some
hardcoded knowledge about font encodings (particularly for the Symbol
font, and Dingbats or whatever the other required one is) anywhere.

Peter


signature.asc
Description: Digital signature


does gs needs to depend on gsfonts, or could it use ttf fonts maybe?

2005-07-24 Thread Miernik
gs-common package depends on gsfonts package, what if I don't want to
use these Type 1 fonts at all, and would purge the gsfonts package.
Would GS work with TTF fonts which are on my system instead?

If that would work, than maybe the 'Depends: gsfonts' dependency of
gs-common could be changed to Recommends ?

-- 
Miernik _  xmpp:[EMAIL PROTECTED]
___/___/  mailto:[EMAIL PROTECTED]
Why software shouldn't be covered by patents
http://bladeenc.mp3.no/articles/software_patents.html


pgpGPsRBUUNGf.pgp
Description: PGP signature