View Single Post
Old 02-11-2007, 10:09 AM   #11
esperanc
Member
esperanc began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Nov 2006
Device: Sony Reader
Spans with fontfacename

I would love use font embedding to obtain real bold and italic text rather than the "fake" effect employed in the reader. Unfortunately, it seems that <Span> tags are processed incorrectly by MSH_lrsparser when the fontfacename attribute is used. The problem is that an extra period (".") appears just after the span.

See, for instance the following code:

Code:
<TextBlock blockstyle="211" objid="212" textstyle="210">
<P>
<Span fontweight="900"> No problem with other attributes </Span>
<Span fontfacename="Courier10 BT Roman"> Extra period when switching to Courier </Span>
<Span fontfacename="Swis721 BT Roman" fontweight="900"> Same thing when switching to Sans Serif </Span>
</P>
</TextBlock>
The result is shown in the Figure attached.
Attached Thumbnails
Click image for larger version

Name:	testspanfonts.PNG
Views:	565
Size:	18.2 KB
ID:	2838  
esperanc is offline   Reply With Quote