This is why you do not get "bold" with only marking the text "bold".
This structure is incorrect and requires changing the exact font name.
<font-family name="Helvetica">
<font>
<font-data name="Helvetica" afm="Helvetica.afm"
embed="false"/>
</font>
</font-family>
<font-family name="Helvetica-Bold">
<font>
<font-data name="Helvetica-Bold" afm="Helvetica-Bold.afm"
embed="false"/>
</font>
</font-family>
<font-family name="Helvetica-BoldOblique">
<font>
<font-data name="Helvetica-BoldOblique"
afm="Helvetica-BoldOblique.afm" embed="false"/>
</font>
</font-family>
<font-family name="Helvetica-Oblique">
<font>
<font-data name="Helvetica-Oblique"
afm="Helvetica-Oblique.afm" embed="false"/>
</font>
</font-family>
This is the correct way and should have been in any default installation of
XEP v4:
<font-family name="Helvetica">
<font><font-data afm="Helvetica.afm"/></font>
<font style="oblique"><font-data
afm="Helvetica-Oblique.afm"/></font>
<font weight="bold"><font-data afm="Helvetica-Bold.afm"/></font>
<font weight="bold" style="oblique"><font-data
afm="Helvetica-BoldOblique.afm"/></font>
</font-family>
From: Akula, Nithin [mailto:akula.nithin@optum.com]
Sent: Wednesday, December 28, 2016 2:05 AM
To: kevin@renderx.com; xep-support@renderx.com
Subject: RE: XEP Migration Observations
Thank You for your quick response.
Attached is the xep.xml which I am using.
We are migrating from 3.x to 4.x in which case I would have to change the
stylesheet correct?
From: Kevin Brown [mailto:kevin@renderx.com]
Sent: Wednesday, December 28, 2016 12:20 AM
To: Akula, Nithin; xep-support@renderx.com <mailto:xep-support@renderx.com>
Subject: RE: XEP Migration Observations
First question -- What "older" version?
Fonts would not ever behave that way unless you have not created the xep.xml
configuration file correctly and even changed the default.
This fo yields the attached PDF so you have some issue in your
configuration.
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
<fo:layout-master-set>
<fo:simple-page-master margin-top="1in"
margin-left="1in"
margin-bottom="18pt"
margin-right="18pt"
page-width="700pt"
page-height="780pt" master-name="first">
<fo:region-body
margin-top="0pt"/>
<fo:region-before
extent="0pt"/>
<fo:region-after
extent="0pt"/>
</fo:simple-page-master>
</fo:layout-master-set>
<fo:page-sequence master-reference="first">
<fo:flow flow-name="xsl-region-body"
font-family="Helvetica">
<fo:block>Helvetica</fo:block>
<fo:block
font-style="italic">This is Helvetica Italic</fo:block>
<fo:block
font-weight="bold">This is Helvetica Bold</fo:block>
<fo:block font-weight="bold"
font-style="italic">This is Helvetica Bold Italic</fo:block>
</fo:flow>
</fo:page-sequence>
</fo:root>
As for the other questions . it all depends on what version you are coming
from. If you are saying that you are coming from version 4. Some number to
later (like 4.24), nothing should change. But if you are coming from over 10
year old 3.x version then it is possible somethings changed in whitespace
inheritance that causes changes.
Kevin Brown
(650) 327-1000 Direct
(650) 328-8008 Fax
(925) 395-1772 Mobile
skype:kbrown01
<mailto:kevin@renderx.com> kevin@renderx.com
<mailto:sales@renderx.com> sales@renderx.com
<http://www.renderx.com/> http://www.renderx.com
From: Akula, Nithin [mailto:akula.nithin@optum.com]
Sent: Tuesday, December 27, 2016 8:46 AM
To: xep-support@renderx.com <mailto:xep-support@renderx.com>
Cc: Kevin Brown <kevin@renderx.com <mailto:kevin@renderx.com> >
Subject: XEP Migration Observations
Hi,
We are currently migrating from an older XEP Version to newer XEP 4.2x
Version.
Using the new XEP Versions showed few differences in the pdf from how it
used to be.
Few Of them are:
1) The text which was previously bold is not shown as bold with the
new version. One thing I noticed here was that whenever I apply a font i.e.
Helvetica and applying the font-weight as bold the text is not shown as bold
but if use a font i.e. Helvetica-Bold directly the text was showing as
expected.
2) Some of the page layouts where changed on few pdf's
3) Text inside a table column is misaligned.
What can be the cause, ideally we should not see any change correct ?
Regards,
Nithin
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
_______________________________________________
(*) To unsubscribe, please visit http://lists.renderx.com/mailman/options/xep-support
(*) By using the Service, you expressly agree to these Terms of Service http://w
ww.renderx.com/terms-of-service.html
Received on Wed Dec 28 10:13:21 2016
This archive was generated by hypermail 2.1.8 : Wed Dec 28 2016 - 10:13:36 PST