<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hi Frank,</p>
<p><br>
</p>
<p>Please see some remarks below:<br>
</p>
<p>
<blockquote type="cite">
<p>All my images have PNG format and an "otherprops="fmdpi:xxx"
attribute where xxx is usually 150, in some cases 140, 160 or
similar. FrameMaker, my previous XML editor, honors this
attribute and scales the images appropriately.</p>
</blockquote>
Well it honors its own Frame specific custom attributes which are
not defined in the DITA specification.</p>
<p>Are you still publishing to PDF using Frame?<br>
<blockquote type="cite">
<p>I notice that oXygen displays images bigger in its editor
compared to 150 dpi images in FrameMaker. </p>
</blockquote>
Oxygen's default DPI is about 96 which is closer to the Web
output.</p>
<p>We have some CSS settings to change the DPI when publishing DITA
to PDF using our CSS based engine:</p>
<p><a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dcpp_images.html">https://www.oxygenxml.com/doc/versions/25.0/ug-editor/topics/dcpp_images.html</a></p>
<p>but we do not have settings to change the DPI in the visual
editor on a per-image base.<br>
<blockquote type="cite">
<p>I would need to reduce all images to about 66% of their size
(= by factor 1.5). Unfortunately I do not know of any CSS
style which scales images based on their own pixel size.
Percentage values in CSS apply to the widht or height of the
viewport.</p>
</blockquote>
Yes, I also do not see a possible way to do this with CSS. DITA
<image> elements allow setting the width or scale attributes
on them. Like:</p>
<p>
<blockquote type="cite"><image
href="../../images/Iris_sanguinea.jpg" scale="160"/></blockquote>
and Oxygen takes this into account. But we take it into account
because we know it's DITA, not because of a certain CSS rule which
could be modified to cover another attribute.<br>
<blockquote type="cite">
<p><br>
</p>
<p>Likewise, I would like to make sure that table columns are
not too narrow on the PDF pages.</p>
</blockquote>
</p>
<p>Most XML editors are not what you see is what you get especially
because XML can be published to multiple formats. The PDF may have
a different font, it splits into pages, it has a certain page
width... best you can do is to try and make things look more like
the published content in the visual editor and check the PDF from
time to time.<br>
</p>
<p><br>
</p>
<p>Regards,</p>
<p>Radu</p>
<pre class="moz-signature" cols="72">Radu Coravu
Oxygen XML Editor</pre>
<p></p>
<p><br>
</p>
<div class="moz-cite-prefix">On 2/9/23 15:08, Frank Dissinger wrote:<br>
</div>
<blockquote type="cite"
cite="mid:5e951c8a-c4be-314d-21f4-a3314949d860@cgs-oris.com">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p>Hi list,</p>
<p><br>
</p>
<p>I publish DITA content as online help and PDF. In oXygen's
Author mode I would like to make sure that images do not exceed
the width of the A4-sized PDF pages. Sometimes I also place two
or more inline images side by side in a paragraph and want to
make sure if all of them fit on the line or if there is a line
break between them.<br>
</p>
<p><br>
</p>
<p>All my images have PNG format and an "otherprops="fmdpi:xxx"
attribute where xxx is usually 150, in some cases 140, 160 or
similar. FrameMaker, my previous XML editor, honors this
attribute and scales the images appropriately.</p>
<p><br>
</p>
<p>I notice that oXygen displays images bigger in its editor
compared to 150 dpi images in FrameMaker. I would need to reduce
all images to about 66% of their size (= by factor 1.5).
Unfortunately I do not know of any CSS style which scales images
based on their own pixel size. Percentage values in CSS apply to
the widht or height of the viewport.</p>
<p><br>
</p>
<p>Likewise, I would like to make sure that table columns are not
too narrow on the PDF pages.</p>
<p><br>
</p>
<p> What can I do? Any ideas are welcome.</p>
<p><br>
</p>
<p>Regards,</p>
<p>Frank<br>
</p>
<div class="moz-signature">-- <br>
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<title></title>
<div class="moz-signature">
<style>div.signature {font-family: Verdana, sans-serif; font-size: 10pt; color: #7F8C8D; padding-top: 0.4em;}div.name {padding-bottom: 0.8em; padding-top: 0.8em}div.contact {padding-bottom: 0.8em;}p {margin: 0;}span.separator {border-top-style: dotted; border-top-width: 2px; padding-top: 0.6em;}a {color: inherit}</style>
<div class="signature">
<div class="name">
<p><strong>Frank Dissinger</strong></p>
<p>Documentation Manager</p>
<p>....................................................................</p>
</div>
<div class="contact">
<p><strong>CGS Publishing Technologies International GmbH</strong></p>
<p><strong>Email </strong><a
href="mailto:frank.dissinger@cgs-oris.com"
target="_blank" class="moz-txt-link-freetext"
moz-do-not-send="true">frank.dissinger@cgs-oris.com</a>
| <strong>Web</strong> <a
href="http://www.cgs-oris.com/" target="_blank"
moz-do-not-send="true">www.cgs-oris.com</a></p>
<p><strong>Address</strong> Kettelerstr. 24 | D-63512
Hainburg | Germany</p>
<p><strong>Phone</strong> +49 6182 9626-27 | <strong>Fax</strong>
+49 6182 9626-99</p>
<p><strong>Commercial register</strong> Offenbach, HRB no.
21495</p>
<p><strong>Managing directors</strong> Bernd Rückert,
Christoph Thommessen</p>
<p><br>
</p>
<a href="https://www.cgs-oris.com/signatur"
moz-do-not-send="true"><img
alt="https://www.cgs-oris.com/Signatur.png"
longdesc="https://www.cgs-oris.com/signatur"
src="https://www.cgs-oris.com/Signatur.png"
moz-do-not-send="true" width="394" height="200"></a> </div>
</div>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
oXygen-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:oXygen-user@oxygenxml.com">oXygen-user@oxygenxml.com</a>
<a class="moz-txt-link-freetext" href="https://www.oxygenxml.com/mailman/listinfo/oxygen-user">https://www.oxygenxml.com/mailman/listinfo/oxygen-user</a>
</pre>
</blockquote>
<pre class="moz-signature" cols="72">
</pre>
</body>
</html>