This is my observation.  The bare minimum set of fonts that Window XP embedded 
requires you to have are:
- Microsoft San Serif
- Tahoma
- Tahoma Bold
- Western Europe Font Substitute
- Marlett
- VGA OEM
- EGA

I do not know what other Windows embedded products require for minimum fonts 
sets.  Windows 7 embedded may do something different.

I agree that a library should not assert.  I looks like Poppler looks first for 
the desired font, then looks for an alternate, then assert.  Rather than 
assert, it should look fall back to some very basic font.  Maybe it should get 
the list of installed fonts and just use one, no matter how ugly.

Regards.
Mark K Vallevand   [email protected] <mailto:[email protected]> 

Eagles may soar, but weasels don't get sucked into jet engines.

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY 
MATERIAL and is thus for use only by the intended recipient. If you received 
this in error, please contact the sender and delete the e-mail and its 
attachments from all computers.


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Hib Eris
Sent: Friday, May 20, 2011 8:58 AM
To: Vallevand, Mark K
Cc: [email protected]
Subject: Re: [evince] Evince Windows XP Assertion Failed

Hi Mark,

On Fri, May 20, 2011 at 3:07 PM, Vallevand, Mark K
<[email protected]> wrote:
> I found the problem.  I did not have the full set of fonts installed.  This 
> is Windows XP embedded edition.  I only included the minimum set of fonts.  
> Apparently, only 5 fonts isn't enough.  When I include the full set of fonts, 
> there is no error.
>
> I don't consider this to be an error.

Well, I think poppler should handle the missing font a little more
gracefully. Just exiting with an assert is not very nice for a
library.

>  However, it would be useful to document that evince/poppler uses the system 
> fonts.  Adobe reader apparently installs its own fonts.  It does not fail 
> when only the minimum 5 system fonts are installed.

Can you tell me what these 'minimum 5 system fonts' are? I guess
poppler should use one of these as a fallback and when even these are
not available, it should return an error instead of exiting.

Hib
_______________________________________________
evince-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evince-list

Reply via email to