Re: Unable to copy Hyphen from PDF generated using FOP

2015-04-03 Thread Pascal Sancho
Hi,

In order to get better help, you should provide XSL-FO example rather
than XSLT; FOP is fed with the former.


2015-04-02 12:04 GMT+02:00 smruthi :
> Thank you for your response.
>
> The PDF is viewed using Adobe Reader X - version - 10.1.0
> OS used -  Windows 7 Enterprise SP1
> Font Used is - Arial
>
> Hyphenation is not used anywhere. The xml data itself contains a Hyphen at
> the end of the data.
>
> Snippet of the  FOP config xml is given below :
> 
> 
> 
> 
> flate
> ascii-85
> 
>   
>
>  weight="normal" />
>  weight="bold" />
>  weight="normal" />
>  weight="bold" />
>
>
>
>   
>   
>   
>   
>
>   
> 
> 
> 
>
> Also, the snippet of the xsl given below is used to fetch data(companynumb)
> from xml and display it :
>
> 
> 
>
>  number-columns-spanned="2" border-bottom-  width="0.6pt"
> border-bottom-style="solid" margin-bottom="1pt" margin-top="1pt"
> space-before.conditionality="retain"   space-before.optimum="1.5pt"
> space-after.conditionality="retain"   space-after.optimum="1.5pt"
> keep-together.within-column="always" height="20pt">
>
>  color="#00" font-size="{$textLabelFontSize}" font-family="{$useFont}"
> space-before.conditionality="retain"   space-before.optimum="1.5pt"
> space-after.conditionality="retain"   space-after.optimum="0.2pt"
> keep-together.within-column="always">
>
>  select="ResourceProcesor:getMessage($resourceProcessor,'label.CompanyNumber')"/>
>
> 
>
>  font-size="{$textFontSize}" font-family="{$useFont}"
> space-before.conditionality="retain"   space-before.optimum="0.2pt"
> space-after.conditionality="retain"   space-after.optimum="0.2pt"
> keep-together.within-column="always">
> 
> 
>
> 
> 
> 
>
> I have no clue as to what is going wrong here. Please let me know what can
> be done...
>
>
>
>
> --
> View this message in context: 
> http://apache-fop.1065347.n5.nabble.com/Unable-to-copy-Hyphen-from-PDF-generated-using-FOP-tp41920p41925.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
> -
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>



-- 
pascal

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: Unable to copy Hyphen from PDF generated using FOP

2015-04-02 Thread smruthi
Thank you for your response. 

The PDF is viewed using Adobe Reader X - version - 10.1.0  
OS used -  Windows 7 Enterprise SP1
Font Used is - Arial 

Hyphenation is not used anywhere. The xml data itself contains a Hyphen at
the end of the data. 

Snippet of the  FOP config xml is given below : 


 

flate
ascii-85 

   





 

 
  
  
  
  
 
  

  


Also, the snippet of the xsl given below is used to fetch data(companynumb)
from xml and display it : 




















I have no clue as to what is going wrong here. Please let me know what can
be done... 




--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Unable-to-copy-Hyphen-from-PDF-generated-using-FOP-tp41920p41925.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: Unable to copy Hyphen from PDF generated using FOP

2015-04-02 Thread Luis Bernardo


Please provide the FO file you used to generate the PDF and indicate 
what viewer, version and OS you used. Also, and this is important, 
indicate what font you used and how you configured it (in fop.xconf). I 
have seen different copy and paste behaviors from Adobe Reader with 
different fonts.


On 3/31/15 3:23 PM, smruthi wrote:

Hi,

I am facing a problem while trying to copy data from PDF into a text editor,
unable to understand the reason for this behaviour.

I am unable to copy 'Hyphen' charector present at the end of line from the
PDF file generated using FOP 1.1.
  
This happens only when the charector before the hyphen is an alphabet. It

works fine when numbers are present before hyphen.
Example : If data in PDF file is ->
'This is test data with Hyphen at end-'  --> Not able
to copy Hyphen

'This is test data with Hyphen at end123-' --> Able

to copy Hyphen



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Unable-to-copy-Hyphen-from-PDF-generated-using-FOP-tp41920.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]




-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: Unable to copy Hyphen from PDF generated using FOP

2015-04-01 Thread smruthi
one more update... 
This issue is simulating only when capital letters are there before hyphen
like :
 "This is tesT-" or "US-PR-RCV_AGPR-" 

works fine for "US-PR-RCV_AGPR1-" or "US-PR-RCV_AGPr1-".



--
View this message in context: 
http://apache-fop.1065347.n5.nabble.com/Unable-to-copy-Hyphen-from-PDF-generated-using-FOP-tp41920p41923.html
Sent from the FOP - Users mailing list archive at Nabble.com.

-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]