OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

docbook-apps message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: RE: [docbook-apps] inlinemedia figure


Title: RE: [docbook-apps] inlinemedia figure

Mark,

Changing the dpi to 160 fixed it. Thanks very much.

Jeff


-----Original Message-----
From: Mark Craig [mailto:mark.craig@gmail.com]
Sent: Tue 3/27/2012 2:21 AM
To: Jeff Storey
Cc: docbook-apps@lists.oasis-open.org
Subject: Re: [docbook-apps] inlinemedia figure

Hello Jeff,

You might try normalizing the DPI settings in the .png files, as
described in http://stackoverflow.com/questions/4261838/xsl-fo-image-size-issue-with-pdfs

Most of the .png files seem to start out at 72 or 96 DPI, whereas they
may need to be 160 DPI or more to look right in the PDF.

Regards,
Mark

On Tue, Mar 27, 2012 at 5:47 AM, Jeff Storey
<jeff.storey@nextcentury.com> wrote:
> I have a few inlinemediaobjects in my document. They are used to display
> icons that are typically used in the toolbar in the application. The images
> themselves are 22x22, but when I generate the pdf file, the images are much
> larger than 22x22 (almost 2x as large). Is there a way to ensure they stay
> at their natural size?
>
> This is how I include the icon:
>
> <inlinemediaobject>
>     <imageobject>
>         <imagedata fileref="myicon.png"/>
>     </imageobject>
> </inlinemediaobject>
>
> Thanks,
> Jeff



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]