Strange response

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Strange response

Theresa Jayne Forster

I have a fo file with a block inside a b-c

 

But on the pdf produced, I am not seeing the block on it. But I do see the red border of the b-c And all text is missing, any ideas why?

 

                <xsl:template name="header">

                                <fo:static-content flow-name="xsl-region-before">

                                                <fo:block-container position="absolute" top="0mm" left="0mm" width="75mm" height="42mm">

                                                                <xsl:call-template name="htslogo"/>

                                                </fo:block-container>

                                                <fo:block-container position="absolute" top="-4mm" left="75mm" width="135mm" height="42mm">

                                                                <xsl:call-template name="header-gfx"/>

                                                </fo:block-container>

                                                <fo:block-container position="absolute" top="10.104mm" left="85.5mm" width="47.75mm" height="10mm" xsl:use-attribute-sets="MainHeader" border-style="solid" border-color="red" border-width="1px">

                                                                <fo:block background-color="pink" >Case Study</fo:block>   ß This is the one missing

                                                </fo:block-container>

                                </fo:static-content>

                </xsl:template>

 

FO =

</fo:instream-foreign-object>

</fo:block>

</fo:block-container>

<fo:block-container font-family="HelveticaNeueMedium" font-weight="normal" font-style="normal" font-size="24pt" text-align="left" color="cmyk(30%,0%,0%,0%)" border-width="1px" border-color="red" border-style="solid" height="10mm" width="47.75mm" left="85.5mm" top="10.104mm" position="absolute">

<fo:block background-color="pink">Case Study</fo:block>

</fo:block-container>

</fo:static-content>

 

 

Kindest regards

 


Theresa Forster

Senior Software Developer

 

Reply | Threaded
Open this post in threaded view
|

Re: Strange response

Andreas Delmelle-2
On 21 Jun 2011, at 17:39, Theresa Jayne Forster wrote:

Hi Theresa

> I have a fo file with a block inside a b-c
>  
> But on the pdf produced, I am not seeing the block on it. But I do see the red border of the b-c And all text is missing, any ideas why?
>  
> <snip />
> FO =
> </fo:instream-foreign-object>

Thanks! That's more like it! Even better --I should have stressed that-- would be the smallest complete FO document that demonstrates the problem (if it is possible to post that here without violating any confidentiality agreements...).
That way, we can immediately run it through the debugger and see what's happening.

Working off the posted fragment, I tried pasting it into a test template here, but did not succeed in reproducing the problem so far. The bottom-border of the b-c was not visible, but that is about all that disappeared on my end, and that can be explained by the fact that a height of 10mm is actually _just_ too little to hold a line with font-size 24pt (= 28.8pt, including half-leading, which is 10.16mm; if I make that 10.2mm, then the border renders properly, too).

That said, I read in the other thread that you are currently transitioning from 0.20 to 1.0, and I am only looking at the latter. So, just to make sure we're not missing anything: To which version does this issue apply?


Regards

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

Reply | Threaded
Open this post in threaded view
|

RE: Strange response

Theresa Jayne Forster
Andreas, thank you for your response, I am sorry to everyone I keep asking
questions but my boss is pushing further and further with the 0.2 rather
than let me complete the change to 1.0 which is always a bad idea.
I am seeing strange things happening, and I guess more I am looking for a
"if this happens what is the problem so I can solve it myself later" type
issue.


We are talking 0.2 at the moment (heavily modded - like it actually has
float support and cmyk as %)
And yes I found out, the designers drew the box that size - so I duplicated
the size they used on the in design document - to then find that it won't
work like that due to their bounding box not being right.  :)

Thanks again

Kindest regards


Theresa Forster
Senior Software Developer




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