зеркало из https://github.com/mozilla/pjs.git
Bug 406376 - "Firefox generating PostScript Level 3 code, instead of Level 2 one (was: Printing graphics prints a solid black box)" (Use Level 2) [p=ventnor.bugzilla@yahoo.com.au (Michael Ventnor) r+sr=roc a=blocking1.9+]
This commit is contained in:
Родитель
50896b0066
Коммит
63918cc339
|
@ -57,7 +57,9 @@ write_func(void *closure, const unsigned char *data, unsigned int length)
|
|||
gfxPSSurface::gfxPSSurface(nsIOutputStream *aStream, const gfxSize& aSizeInPoints)
|
||||
: mStream(aStream), mXDPI(-1), mYDPI(-1), mSize(aSizeInPoints)
|
||||
{
|
||||
Init(cairo_ps_surface_create_for_stream(write_func, (void*)mStream, mSize.width, mSize.height));
|
||||
cairo_surface_t* ps_surface = cairo_ps_surface_create_for_stream(write_func, (void*)mStream, mSize.width, mSize.height);
|
||||
cairo_ps_surface_restrict_to_level(ps_surface, CAIRO_PS_LEVEL_2);
|
||||
Init(ps_surface);
|
||||
}
|
||||
|
||||
gfxPSSurface::~gfxPSSurface()
|
||||
|
|
Загрузка…
Ссылка в новой задаче