[xep-support] Re: XEP Migration Observations

Kevin Brown kevin at renderx.com
Wed Dec 28 19:26:45 PST 2016


*  Are the whitespace differences unavoidable ?

 

I have no idea, I have no information what they are from, and why they
exist.

If you are asking whether a document formatted with software that is more
than 10 years old differs from one formatted with software today with modern
XSL engines, modern Java, modern OS . I would say, "It could happen".

 

Kevin Brown 

 

From: Akula, Nithin [mailto:akula.nithin at optum.com] 
Sent: Wednesday, December 28, 2016 6:58 PM
To: kevin at renderx.com; xep-support at renderx.com
Subject: RE: XEP Migration Observations

 

I will make the necessary changes.

 

Are the whitespace differences unavoidable ?

 

From: Kevin Brown [mailto:kevin at renderx.com] 
Sent: Wednesday, December 28, 2016 11:50 PM
To: Akula, Nithin; xep-support at renderx.com <mailto:xep-support at renderx.com> 
Subject: RE: XEP Migration Observations

 

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 at optum.com] 
Sent: Wednesday, December 28, 2016 2:05 AM
To: kevin at renderx.com <mailto:kevin at renderx.com> ; xep-support at renderx.com
<mailto:xep-support at 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 at renderx.com] 
Sent: Wednesday, December 28, 2016 12:20 AM
To: Akula, Nithin; xep-support at renderx.com <mailto:xep-support at 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 at renderx.com> kevin at renderx.com

 <mailto:sales at renderx.com> sales at renderx.com

 <http://www.renderx.com/> http://www.renderx.com 

 

 

 

From: Akula, Nithin [mailto:akula.nithin at optum.com] 
Sent: Tuesday, December 27, 2016 8:46 AM
To: xep-support at renderx.com <mailto:xep-support at renderx.com> 
Cc: Kevin Brown <kevin at renderx.com <mailto:kevin at 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.


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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.renderx.com/pipermail/xep-support/attachments/20161228/d5cc857e/attachment-0001.html>


More information about the Xep-support mailing list