NetBSD-Users archive

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

Re: ugly font when printing from firefox



On Thu, Oct 04, 2012 at 11:15:15PM +0200, Rhialto wrote:
> On Mon 01 Oct 2012 at 20:08:36 -0400, Greg Troxel wrote:
> >   [firefox bitmap-ish fonts]
> > 
> > I did not figure it out.  But I think it's not about the code, but
> > about font config and caching.
> 
> I have put in some configuration to disable bitmap fonts, when used via
> fontconfig at least. Unfortunately the base system and pkgsrc both have
> their own copy of fontconfig and their own configuration files...
> 
> Without it, a common font like "Times" comes out as a bitmap font.
> 
> 
> I put this
> 
>     <selectfont>
>         <rejectfont>
>             <pattern>
>                 <patelt name="antialias">
>                     <bool>false</bool>
>                 </patelt>
>             </pattern>
>         </rejectfont>
>     </selectfont>
> 
> in
> 
> /usr/pkg/etc/fontconfig/local.conf
> 
> and enabled
> 
> /etc/fonts/conf.d/70-no-bitmaps.conf
> 
> which I now notice isn't exacly the same.

thanks. I don't know much about fontconfig. I don't have 
/usr/pkg/etc/fontconfig/ (looks like firefox didn't need the pkgsrc
fontconfig), nor /etc/fonts/conf.d/70-no-bitmaps.conf.
I created a /etc/fonts/conf.d/70-no-bitmaps.conf with the entry you provided,
but this didn't change anything. Note that the problem is not
when displaying the page (it looks nice in firefox, and not that bad
in print preview), but only when printing. I don't know if or how it makes a
difference for fontconfig.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--


Home | Main Index | Thread Index | Old Index