Quote:
Originally Posted by obelix
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:
|
Thanks for your reply, Obelix. I discovered what went wrong: my textstyle had an attribute called
empdotscode="0x002e", which caused the extra dot. I copied the textstyle from some other lrs I had converted from the example books in my reader. I have no idea of what exactly this attribute does other than causing this...
On the other hand, I still have the problem with multiple embedded fonts. Here´s the relevant code (see also the two complete example files attached)
Code:
<Main>
<Page evenheaderid="207" objid="209" oddheaderid="207" pagestyle="208">
<TextBlock blockstyle="211" objid="212" textstyle="210">
<P>
<Span fontfacename="Palatino Linotype">Some text written in Palatino Regular. </Span>
<Span fontfacename="Palatino Linotype Bold">Some text written in Palatino Bold. </Span>
<Span fontfacename="Palatino Linotype Bold Italic">Some text written in Palatino Bold Italic. </Span>
<Span fontfacename="Palatino Linotype Italic">Some text written in Palatino Italic. </Span>
</P>
</TextBlock>
</Page>
</Main>
<Template version="1.0">
</Template>
<Style>
<BookStyle>
<SetDefault empdotsfontname="Dutch801 Rm BT Roman" empdotsposition="before" emplineposition="before" emplinetype="solid" rubyadjust="none" rubyalign="start" rubyoverhang="none" setwaitprop="noreplay" />
<BookSetting bindingdirection="Lr" colordepth="24" dpi="1600" screenheight="800" screenwidth="600" />
<RegistFont encoding="TTF" file="c:\windows\fonts\pala.ttf" fontfilename="aaa" fontname="Palatino Linotype" objid="200" />
<RegistFont encoding="TTF" file="c:\windows\fonts\palab.ttf" fontfilename="aaa" fontname="Palatino Linotype Bold" objid="201" />
<RegistFont encoding="TTF" file="c:\windows\fonts\palabi.ttf" fontfilename="aaa" fontname="Palatino Linotype Bold Italic" objid="202" />
<RegistFont encoding="TTF" file="c:\windows\fonts\palai.ttf" fontfilename="aaa" fontname="Palatino Linotype Italic" objid="203" />
</BookStyle>
The result is that the first three embedded RegistFont work, but not the fourth. On the other hand, if smaller fonts are used (4 variants of Vera, for instance, all four fonts work). I think this has something to do with the size or the complexity of the fonts. Have any of you noticed this?