On 12-03-01 at 01:44pm, Jonathan Nieder wrote:
> Jonas Smedegaard wrote:
> > On 12-03-01 at 08:54am, Ian Zimmerman wrote:
>
> >> In general, I think useless dangling symlinks are a bug even if
> >> they don't cause tangible harm, just as for example documentation
> >> reference to a feature that no longer exists would be a bug. They
> >> impede administrators' (and developers') understanding of the
> >> package.
> >
> > I agree with you that it is a bug (even by Policy IIRC).
>
> Not in policy §10.5 "symbolic links", as least.
Hmm, you are right. I must've remembered wrong, then.
> Maybe this could be addressed by adding some documentation, e.g. in
> README.Debian:
>
> Ghostscript uses the DroidSansFallback font from the fonts-droid
> package to substitute for CID-keyed fonts that are not available
> (used for East Asian character sets in PDFs). If disk space is
> scarce, remove the fonts-droid package and the glyphs from
> missing fonts will be rendered as bullets.
>
> See Use.htm#CIDFontSubstitution from the ghostscript-doc package
> for details.
>
> and in the package description:
>
> .
> By default, Ghostscript uses a font from the fonts-droid package
> to approximate glyphs in PDFs for which the requested CJK
> TrueType font is missing. If the fonts-droid package is not
> installed, these glyphs will be rendered as bullets.
Looks good to me. Added now in git - adjusted to use "GPL Ghostscript"
as there is also a "GNU Ghostscript" out there...
> What would happen if the symlink were removed and the following patch
> applied?
>
> gs/Resource/Init/gs_cidfm.ps | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git i/gs/Resource/Init/gs_cidfm.ps w/gs/Resource/Init/gs_cidfm.ps
> index 3f0a2076..68143909 100644
> --- i/gs/Resource/Init/gs_cidfm.ps
> +++ w/gs/Resource/Init/gs_cidfm.ps
> @@ -110,7 +110,7 @@ currentdict end def
> (/) concatstrings
> }
> {
> - currentsystemparams /GenericResourceDir get (CIDFSubst/) concatstrings
> + (/usr/share/fonts/truetype/droid/)
> } ifelse
> } ifelse
>
Hmm, I will try that - when I locate a CJK PostScript file to test
against.
- Jonas
--
* Jonas Smedegaard - idealist & Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
[x] quote me freely [ ] ask before reusing [ ] keep private
Attachment:
signature.asc
Description: Digital signature