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

Re: Help with my Squeeze upgrade! (missing fonts)



On Thu, Feb 10, 2011 at 10:39:46AM -0800, Erin Brinkley wrote:
> Roger Leigh <rleigh@codelibre.net> wrote:
> 
> But I am 80% convinced that this is a TeX problem. Right now I can't run xdvi at all without getting hundreds of error lines about duplicate entries in ps2pk.map. I remember I had this problem a year ago when I upgraded to Lenny. It had been some kind of updmap problem with Tex Live.
> 
> 
> > fc-list certainly shows up lots of "LM" fonts, including LMMono
> > (could it be just a different name?) and LMRoman etc.
> 
> Yes, it shows those for me too (I use the lmodern package also). That seemed like a good tip but it turns out those are completely different LM fonts. The LMTypewriter10 is a font that comes with the context pacakge. It's not the only one that's missing, either. There are all kinds of other fonts not recognized such as ZurichExBT and OldDreadfulNo7BT.
> 
> I think I need to figure out the difference between fontinst and Defoma and how fonts are discovered by each. Maybe something in the upgrade broke so that these programs are not being made aware of fonts in new packages. I don't know.
> 
> Is there a Debian TeX / font hacker's list out there???

Asking the TeX maintainers would probably be worth trying, since it
sounds like something might be broken here.  It sounds like whatever
the cause is, it may have been broken since etch, so it might not be a
bug in texlive or context.  But it may also be unrelated and have
broken with the upgrade to squeeze.

I installed context myself, and I have
/usr/share/texmf/fonts/truetype/hoekwater/lm/lmtypewriter10-regular.ttf

It's not showing up with fc-list, even after running fc-cache as root.
I think it's possibly a bug in context; or maybe in the defoma configuration
that makes it look at TeX fonts:

% rgrep texmf *
conf.d/30-defoma.conf:   <dir>/usr/share/texmf/fonts/type1/public/lm</dir>
conf.d/30-defoma.conf:   <dir>/usr/share/texmf/fonts/type1/public/tex-gyre</dir>

This is part of fontconfig.  But that doesn't explain how the lmodern
and gyre truetype/opentype fonts get discovered (unless they don't and
I'm using the type1 fonts unawares).

I've CCd the TeX/context and fontconfig maintainers.  To them: this
problem is regarding the loss of the LMTypewriter10 font as both an X
bitmap font and as a fontconfig-provided font as shown by fc-list
following an upgrade to squeeze.  When one installs the context package,
the font does not show up.

Actually, the bitmap fonts are available for me:
% xlsfonts | grep 'latin.*modern.*typewriter.*iso8859-1$' | head -n 4
-unregistered-latin modern typewriter variable width-dark-o-normal--0-0-0-0-p-0-iso8859-1
-unregistered-latin modern typewriter variable width-dark-r-normal--0-0-0-0-p-0-iso8859-1
-unregistered-latin modern typewriter variable width-light-o-normal--0-0-0-0-p-0-iso8859-1
-unregistered-latin modern typewriter variable width-light-r-normal--0-0-0-0-p-0-iso8859-1
(34 separate fonts in total)

But I have no clue as to where there are actually from; I'm not running
xfstt, so I assume they are bitmaps(?), but I can't identify them in the
filesystem to determine the package which provided them.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: signature.asc
Description: Digital signature


Reply to: