mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-13 13:25:37 +00:00
[ps] Mozilla generate invalid font when enable true type printing
bug 253219 r=tori(tor@acm.org),sr=roc(roc@ocallahan.org)
This commit is contained in:
parent
bb45fcc626
commit
5294799892
@ -1563,6 +1563,11 @@ nsFontPSFreeType::GetBoundingMetrics(const PRUnichar* aString,
|
||||
// Implementation of nsPSFontGenerator
|
||||
nsPSFontGenerator::nsPSFontGenerator()
|
||||
{
|
||||
// Add a small set of characters to the subset of the user
|
||||
// defined font to produce to make sure the font ends up
|
||||
// being larger than 2000 bytes, a threshold under which
|
||||
// some printers will consider the font invalid. (bug 253219)
|
||||
AddToSubset("1234567890", 10);
|
||||
}
|
||||
|
||||
nsPSFontGenerator::~nsPSFontGenerator()
|
||||
|
Loading…
Reference in New Issue
Block a user