xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mehdi houshmand <med1...@gmail.com>
Subject Re: AW: AW: AW: AW: Data getting displayed in Bold font sporadically
Date Tue, 19 Oct 2010 07:41:31 GMT
Hi Aditya,

This could be an issue with your fop.jar not properly configured with
fonts, as Chris said, could you send us your fop.xconf it's in [FOP
directory]/conf/fop.xconf. This will help us understand a little
better the root cause of the issue.

Thanks

Mehdi

On 18 October 2010 16:06, AdityaVN <adityanadi@gmail.com> wrote:
>
> Hi Georg,
>
> Sorry for the confusion.
> The code (fo:block) that I wrote in the previous reply is the code that is
> causing the problem.
> Although this is the code to display the text in normal format, this same
> piece of code displays bold text sometimes.
> We have observed that this happens only in UNIX environment, where this code
> is deployed.
>
> Thanks,
> Aditya.
>
>
> Georg Datterl wrote:
>>
>> Hi AdityaVN,
>>
>> We are still not on the same page. You have a fo file, from which your PDF
>> is generated. Somewhere in your PDF you have a bold text which should be
>> normal. Now I want you to find exactly this block in your fo file and
>> check the font there. If the font is the bold font, you have a problem
>> when generating your fo file. If the font there is the normal font, it may
>> be a fop problem. In that case, I'm interested in the block and the next
>> normal (and correctly displayed) block.
>>
>> Regards,
>>
>> Georg Datterl
>>
>> ------ Kontakt ------
>>
>> Georg Datterl
>>
>> Geneon media solutions gmbh
>> Gutenstetter Straße 8a
>> 90449 Nürnberg
>>
>> HRB Nürnberg: 17193
>> Geschäftsführer: Yong-Harry Steiert
>>
>> Tel.: 0911/36 78 88 - 26
>> Fax: 0911/36 78 88 - 20
>>
>> www.geneon.de
>>
>> Weitere Mitglieder der Willmy MediaGroup:
>>
>> IRS Integrated Realization Services GmbH:    www.irs-nbg.de
>> Willmy PrintMedia GmbH:                            www.willmy.de
>> Willmy Consult & Content GmbH:                 www.willmycc.de
>>
>>
>> -----Ursprüngliche Nachricht-----
>> Von: AdityaVN [mailto:adityanadi@gmail.com]
>> Gesendet: Montag, 18. Oktober 2010 13:49
>> An: fop-users@xmlgraphics.apache.org
>> Betreff: Re: AW: AW: AW: Data getting displayed in Bold font sporadically
>>
>>
>> Hi Georg,
>>
>> The below given example is to display the data in normal font which works
>> fine most of the times. But at times it displays the data in bold font -
>>
>> <fo:table-row display-align="before"
>> keep-with-previous.within-page="always">
>>   <fo:table-cell display-align="before" text-align="left" padding=".7mm">
>>     <fo:block display-align="before"
>> font-family="ITCFranklinGothicStd-Book">
>>       <fo:block display-align="before"
>> font-family="ITCFranklinGothicStd-Book">
>>         .....Data.....
>>       </fo:block>
>>     </fo:block>
>>   </fo:table-cell>
>> </fo:table-row>
>>
>> Thanks,
>> Aditya.
>>
>> Georg Datterl wrote:
>>>
>>> Hi AdityaVN,
>>>
>>> That seems to be correct. Can you find an example, where the two blocks
>>> have the same font, but look differently?
>>>
>>> Regards,
>>>
>>> Georg Datterl
>>>
>>> ------ Kontakt ------
>>>
>>> Georg Datterl
>>>
>>> Geneon media solutions gmbh
>>> Gutenstetter Straße 8a
>>> 90449 Nürnberg
>>>
>>> HRB Nürnberg: 17193
>>> Geschäftsführer: Yong-Harry Steiert
>>>
>>> Tel.: 0911/36 78 88 - 26
>>> Fax: 0911/36 78 88 - 20
>>>
>>> www.geneon.de
>>>
>>> Weitere Mitglieder der Willmy MediaGroup:
>>>
>>> IRS Integrated Realization Services GmbH:    www.irs-nbg.de
>>> Willmy PrintMedia GmbH:                            www.willmy.de
>>> Willmy Consult & Content GmbH:                 www.willmycc.de
>>>
>>>
>>> -----Ursprüngliche Nachricht-----
>>> Von: AdityaVN [mailto:adityanadi@gmail.com]
>>> Gesendet: Montag, 18. Oktober 2010 13:26
>>> An: fop-users@xmlgraphics.apache.org
>>> Betreff: Re: AW: AW: Data getting displayed in Bold font sporadically
>>>
>>>
>>> Hi Georg,
>>>
>>> Please find below the fo blocks that are being used to display the data
>>> in
>>> normal as well as bold font-
>>>
>>> 1) FO Block with normal font :-
>>> <fo:block font-family="ITCFranklinGothicStd-Book" color="black"
>>>   font-size="8pt" text-align="justify" end-indent="3mm">
>>>   .....Labels/Data etc.....
>>> </fo:block>
>>>
>>> 2) FO Block with bolded font :-
>>> <fo:block font-family="ITCFranklinGothicStd-Demi" color="black"
>>>   font-size="8pt" text-align="justify" end-indent="3mm">
>>>   .....Labels/Data etc.....
>>> </fo:block>
>>>
>>> Thanks,
>>> AdityaVN
>>>
>>>
>>> Georg Datterl wrote:
>>>>
>>>> Hi AdityaVN,
>>>>
>>>> Can you show us a fo file with one block normal, one block bold, both
>>>> the
>>>> same font?
>>>>
>>>> Regards,
>>>>
>>>> Georg Datterl
>>>>
>>>> ------ Kontakt ------
>>>>
>>>> Georg Datterl
>>>>
>>>> Geneon media solutions gmbh
>>>> Gutenstetter Straße 8a
>>>> 90449 Nürnberg
>>>>
>>>> HRB Nürnberg: 17193
>>>> Geschäftsführer: Yong-Harry Steiert
>>>>
>>>> Tel.: 0911/36 78 88 - 26
>>>> Fax: 0911/36 78 88 - 20
>>>>
>>>> www.geneon.de
>>>>
>>>> Weitere Mitglieder der Willmy MediaGroup:
>>>>
>>>> IRS Integrated Realization Services GmbH:    www.irs-nbg.de
>>>> Willmy PrintMedia GmbH:                            www.willmy.de
>>>> Willmy Consult & Content GmbH:                 www.willmycc.de
>>>>
>>>>
>>>> -----Ursprüngliche Nachricht-----
>>>> Von: AdityaVN [mailto:adityanadi@gmail.com]
>>>> Gesendet: Montag, 18. Oktober 2010 12:22
>>>> An: fop-users@xmlgraphics.apache.org
>>>> Betreff: Re: AW: Data getting displayed in Bold font sporadically
>>>>
>>>>
>>>> Hi Georg,
>>>>
>>>> Thanks for the reply.
>>>> Yes. I have checked for the font family and it is specified correctly.
>>>> Same fo:blocks display the data correctly most of the times. But
>>>> sometime
>>>> they display it in bold font.
>>>>
>>>>
>>>> Georg Datterl wrote:
>>>>>
>>>>> Hi AdityaVN,
>>>>>
>>>>> Did you check your fo file to make sure, the font family is correct?
>>>>>
>>>>> Regards,
>>>>>
>>>>> Georg Datterl
>>>>>
>>>>> ------ Kontakt ------
>>>>>
>>>>> Georg Datterl
>>>>>
>>>>> Geneon media solutions gmbh
>>>>> Gutenstetter Straße 8a
>>>>> 90449 Nürnberg
>>>>>
>>>>> HRB Nürnberg: 17193
>>>>> Geschäftsführer: Yong-Harry Steiert
>>>>>
>>>>> Tel.: 0911/36 78 88 - 26
>>>>> Fax: 0911/36 78 88 - 20
>>>>>
>>>>> www.geneon.de
>>>>>
>>>>> Weitere Mitglieder der Willmy MediaGroup:
>>>>>
>>>>> IRS Integrated Realization Services GmbH:    www.irs-nbg.de
>>>>> Willmy PrintMedia GmbH:                            www.willmy.de
>>>>> Willmy Consult & Content GmbH:                 www.willmycc.de
>>>>>
>>>>>
>>>>> -----Ursprüngliche Nachricht-----
>>>>> Von: AdityaVN [mailto:adityanadi@gmail.com]
>>>>> Gesendet: Montag, 18. Oktober 2010 12:01
>>>>> An: fop-users@xmlgraphics.apache.org
>>>>> Betreff: Data getting displayed in Bold font sporadically
>>>>>
>>>>>
>>>>> Hi,
>>>>>
>>>>> I am generating a PDF using FOP 0.95, where I have a bunch of pages,
>>>>> each
>>>>> of
>>>>> which can have multiple tables. I am displaying the data in these
>>>>> tables
>>>>> using fo:block and I am specifying the font-family on each fo:block.
I
>>>>> am
>>>>> using the font-family 'ITCFranklinGothicStd-Demi' for displaying the
>>>>> data
>>>>> in
>>>>> 'Bold' format and 'ITCFranklinGothicStd-Book' for displaying the data
>>>>> in
>>>>> 'Normal' format.
>>>>>
>>>>> There are times I encounter this problem where I am specifying the
>>>>> font-family as 'ITCFranklinGothicStd-Book' on a fo:block but still it
>>>>> displays the data in Bold format. And this is happening sporadically.
>>>>> I looked all around the internet for a solution to this problem and
>>>>> still
>>>>> haven't found any. Please let me know if there is any way I can prevent
>>>>> this
>>>>> data from getting displayed in bold font.
>>>>> --
>>>>> View this message in context:
>>>>> http://old.nabble.com/Data-getting-displayed-in-Bold-font-sporadically-tp29988825p29988825.html
>>>>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>>>
>>>>>
>>>>> ---------------------------------------------------------------------
>>>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>>>
>>>>>
>>>>>
>>>>
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Data-getting-displayed-in-Bold-font-sporadically-tp29988825p29988983.html
>>>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>>
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://old.nabble.com/Data-getting-displayed-in-Bold-font-sporadically-tp29988825p29989417.html
>>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>>
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Data-getting-displayed-in-Bold-font-sporadically-tp29988825p29989581.html
>> Sent from the FOP - Users mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
>> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>>
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Data-getting-displayed-in-Bold-font-sporadically-tp29988825p29991391.html
> Sent from the FOP - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
> For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: fop-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: fop-users-help@xmlgraphics.apache.org


Mime
View raw message