View Single Post
Old 02-12-2007, 11:29 PM   #12
obelix
Connoisseur
obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.obelix once ate a cherry pie in a record 7 seconds.
 
Posts: 65
Karma: 1695
Join Date: Oct 2006
Quote:
Originally Posted by esperanc
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.
Just converted your example. No periods. Hard to believe that parser adds something extra, its against principles of its operation. May be your device is doing it? What program are you using to see lrf preview?

Here is my example (both lrs and lrf) and the screenshoot:
Attached Thumbnails
Click image for larger version

Name:	testfonts.gif
Views:	632
Size:	9.7 KB
ID:	2840  
Attached Files
File Type: zip testfonts_1.zip (2.6 KB, 535 views)
obelix is offline   Reply With Quote