[BUG?] windows 2000: formatted text flows into one another
[BUG?] windows 2000: formatted text flows into one another
hi,
i'm having the problem that formatted text (bold, italic, underlined, colored, ...) flows into one another if i want to display it in my editor. additionally text will be cut at the end of the line. this problem appears only under windows 2000.
when i type in any character, the display is getting fixed.
i've made two screenshots:
the faulty view:
after typing in any character, the right view:
i hope you can help me
i'm having the problem that formatted text (bold, italic, underlined, colored, ...) flows into one another if i want to display it in my editor. additionally text will be cut at the end of the line. this problem appears only under windows 2000.
when i type in any character, the display is getting fixed.
i've made two screenshots:
the faulty view:
after typing in any character, the right view:
i hope you can help me
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
no, the text is loaded from a database (xml format).Sergey Tkachenko wrote:How the text was created initially? Loaded from file?
[EDIT:]
i've tested the display of the text shown in the oher screenshots with windows xp and saw that the author of this text used a tabulator. maybe thats the problem with windows 2000?!
see here...
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Sergey Tkachenko wrote:Do you use RichViewXML to store XML data?
Please send me this XML doc.
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<rvxml>
<style inactiveselcolor="clHighlight" inactiveseltextcolor="clHighlightText">
<font color="clBlack" fontname="Arial Unicode MS" name="sdefault" unicode="1" />
<font color="0x00505050" fontname="Arial Unicode MS" size="22" standard="0" name="sheading1" unicode="1" />
<font color="0x00505050" fontname="Arial Unicode MS" size="20" standard="0" name="sheading2" unicode="1" />
<font color="0x00505050" fontname="Arial Unicode MS" size="18" standard="0" name="sheading3" unicode="1" />
<font color="0x00505050" fontname="Arial Unicode MS" size="16" standard="0" name="sheading4" unicode="1" />
<font color="0x00505050" fontname="Arial Unicode MS" size="14" standard="0" name="sheading5" unicode="1" />
<font color="0x00505050" fontname="Arial Unicode MS" size="12" standard="0" name="sheading6" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" name="sdefault7" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" italic="1" name="sdefault8" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" italic="1" underline="1" name="sdefault9" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" underline="1" name="sdefault10" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" italic="1" underline="1" strikeout="1" name="sdefault11" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" underline="1" strikeout="1" name="sdefault12" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" strikeout="1" name="sdefault13" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" italic="1" name="sdefault14" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" italic="1" underline="1" name="sdefault15" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" italic="1" underline="1" strikeout="1" name="sdefault16" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" italic="1" strikeout="1" name="sdefault17" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" underline="1" name="sdefault18" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" underline="1" strikeout="1" name="sdefault19" unicode="1" />
<font color="clBlack" fontname="Arial Unicode MS" standard="0" bold="1" strikeout="1" name="sdefault20" unicode="1" />
<font color="clBlue" fontname="Lucida Sans Unicode" jump="1" standard="0" name="own4793abf66bc5" unicode="1" />
<para spaceafter="5" name="pdefault" />
<para spaceafter="10" spacebefore="10" standard="0" name="pheading1" />
<para spaceafter="9" spacebefore="8" standard="0" name="pheading2" />
<para spaceafter="8" spacebefore="6" standard="0" name="pheading3" />
<para spaceafter="7" spacebefore="4" standard="0" name="pheading4" />
<para spaceafter="6" spacebefore="2" standard="0" name="pheading5" />
<para spaceafter="5" standard="0" name="pheading6" />
<list name="bullets">
<marker type="unibullet" formatstr="-" formatstrw="2220" fontname="Arial Unicode MS" fontsize="10" />
</list>
<list standard="0" name="numbers">
<marker type="decimal" formatstr="%s." fontname="Arial Unicode MS" fontsize="10" />
</list>
</style>
<document stringtags="1" backstyle="color" backcolor="clNone" hscrollbarvisible="1" vscrollbarvisible="1" vsmallstep="10" maxtextwidth="0" mintextwidth="0" leftmargin="5" rightmargin="5" topmargin="5" bottommargin="5" scrolltoend="1" singleclick="0" clienttextwidth="0" showcheckpoints="1" showpagebreaks="1" autocopytext="1" autocopyunitext="1" autocopyrtf="1" autocopyrvf="1" autocopyimage="1" formatinvalidate="1" dblclickselectword="1" rightclickdeselect="1" checkevent="none" bidimode="none" rtfsavestylesheet="0" rtfunicodetoansi="1" rtfemftowmf="0" rtftransformjpeg="0" rtfdefaultimgformat="wmf" rvfautosaveimages="1" rvfautosavecontrols="1" rvfusestylenames="0" rvfsavetextstyles="1" rvfsaveparastyles="1" rvfsavebinary="1" rvfsavebackground="0" rvfsavelayout="1" cleartagbystylechange="1" ctrljump="1" ignoreenter="0" ignoretab="0" langautoswitch="0">
<utext>Sie können sich unsere AGB als PDF- Dokument ansehen.</utext>
<utext>Dazu benötigen Sie Acrobat Reader von </utext>
<utext textstyleno="21" tag="<tag link:id="4793abf62431"><link:url>http://www.adobe.de</link:url><link:target /><link:title>Adobe-Website</link:title><link:name /><link:visible>true</link:visible></tag>" br="0">Adobe</utext>
<utext br="0">. Falls Sie Acrobat Reader nicht auf Ihrem Computer installiert haben, können Sie die Software auf der Adobe-Website </utext>
<utext textstyleno="7" br="0">www.adobe.de</utext>
<utext br="0">/Rubrik Downloads kostenlos herunterladen.</utext>
<utext />
</document>
</rvxml>
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Better send to [email protected]
(to make sure that my copy is identical)
(to make sure that my copy is identical)
done...Sergey Tkachenko wrote:Better send to [email protected]
(to make sure that my copy is identical)
[EDIT:]
now i've found the bug also under windows xp. i think it's definitely a problem with tabulators.
here are my screenshots:
wysiwg view:
xml view:
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
The file you send to me has no tabulators, it has only spaces.
On XP it looks normal. I will be able to access a computer with Win2000 only next Monday.
Can you check if the font "Arial Unicode MS" is installed on systems where this problem occurs?
I have a guess that this font is substituted by Windows, and substituted with different fonts at the moment of the initial formatting and drawing.
On XP it looks normal. I will be able to access a computer with Win2000 only next Monday.
Can you check if the font "Arial Unicode MS" is installed on systems where this problem occurs?
I have a guess that this font is substituted by Windows, and substituted with different fonts at the moment of the initial formatting and drawing.
yeah, that is what i meant. in the xml code there are no tabulators. when i press tab then there is one in the xml code displayed as <tab styleno=".." />Sergey Tkachenko wrote:The file you send to me has no tabulators, it has only spaces.
now i've disabled the usage of tabulators. if i open the text and save it without making a change it will be saved correctly without the visual tabulator. so i can ensure that this "bug" won't appear in the future...
but now it's interesting why it's displayed as i described in my first post...
i'll check next week if the font "Arial Unicode MS" is installed on systems where this problem occurs...
-
- Site Admin
- Posts: 17566
- Joined: Sat Aug 27, 2005 10:28 am
- Contact: