Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
exporting pdf vs. jpeg
#1
I'm attempting to make a banner with two color background, with text containing two different colors - but, with different fonts (in different layers). All told, there are 10 layers, one with zero opacity - I used it as an underlying guide to construct the banner.

When I export it as a jpeg, everything is aligned perfectly - but of course, when you zoom you get the staircasing you expect from a bitmap:

[Image: jpg_banner.jpg]

When I export it as a pdf, it zooms perfectly, again as you would expect from a vector-based image. However, There is some blurring at the border of the two background colors, as if they are blended from misalignment; and there is whitespace at the right and bottom edges. Here is a jpeg snapshot of the pdf, where I've outlined the artifacts:

[Image: pdf_banner.jpg]

When I rendered the pdf, I chose these options:


[Image: export.jpg]

Is there anything I can do differently, to have the pdf render in appearance as the jpeg?

I should add there's issues with font alignment from the various layers. Look at the "!" that trails "HERE". They are different fonts (and different layers) - they align at the base of the text in the jpeg, but not in the pdf.

Is this a bug with GIMP?

Thanks
Dan
Reply
#2
Quote:Is there anything I can do differently, to have the pdf render in appearance as the jpeg?

The problem is while the text layers produce a 'vector' (not editable text as such) and keep sharpness when scaled, the two colour background layer, remains a bitmap. No better or worse than than your jpeg

Easiest seen in a vector application such as Inkscape. I recreated your image to a certain extent.

[Image: vV1OTub.jpg]

Quote:I should add there's issues with font alignment from the various layers. Look at the "!" that trails "HERE". They are different fonts (and different layers) - they align at the base of the text in the jpeg, but not in the pdf.
Is this a bug with GIMP?

There is a bug report of a similar nature. https://gitlab.gnome.org/GNOME/gimp/issues/2294

My advice, That logo/banner is best done 100% in a vector application say, Inkscape and for export as a PDF for printing use Scribus.
Reply
#3
Thanks for your reply. I'm an old dog trying to learn new tricks, and I've struggled with Inkscape (which is why I fell back on GIMP, with which I'm familiar). It doesn't appear that Inkscape supports an xcf import, unless I'm missing something. Short of starting from scratch - which, I'm resigned to do, failing all else - is there a way I can get what I've already done into Inkscape?

Thanks
Dan
Reply
#4
Well..dickered around all morning with this one. Tried all sorts of methods and converters, both on computer and on-line, none of them give a good result.

The quickest way, since you have that font, is a straight remake in Inkscape.

To get something out of Gimp the best I get is; the text as a path and then that path to a svg.

In Inkscape. Use a Gimp (png is best) image as a template, Make the two coloured boxes, import the text svg's, set the colour for them. Delete the png template. Save as a PDF.
Reply


Forum Jump: