bugGNU TeXmacs - Bugs: bug #56343, Incorrect rendering of the char...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #56343: Incorrect rendering of the char after <less> or <gtr> in Chinese documents

Submitter:  Darcy Shen <sadhen>
Submitted:  Sat 18 May 2019 07:48:33 AM UTC
   
 
Category:  Typesetter Priority:  5 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  vdhoeven
Originator Name:  Open/Closed:  Closed
Release:  None Release: 
Fixed Release:  None Fixed Release: 
Keywords: 

Sun 28 Jul 2019 10:40:41 PM UTC, comment #4: 

Yes, I guess that my fix also fixed your bug.  If not, then please reopen it.

Joris van der Hoeven <vdhoeven>
Group administrator
Fri 05 Jul 2019 03:31:09 PM UTC, comment #3: 

It seems that r12058 fixed it.

Darcy Shen <sadhen>
Group Member
Sat 18 May 2019 10:40:05 AM UTC, comment #2: 


void
font_rep::draw_fixed (renderer ren, string s, SI x, SI y, SI xk) {
  STACK_NEW_ARRAY (xpos, SI, N(s)+1);
  get_xpositions (s, xpos, xk);
  int i= 0;
  while (i<N(s)) {
    int old= i;
    tm_char_forwards (s, i);
    draw_fixed (ren, s (old, i), x + xpos[old], y, false);
  }
  STACK_DELETE_ARRAY (xpos);
}


When s is "<less>a", the get_xpositions get the wrong xpos .

Darcy Shen <sadhen>
Group Member
Sat 18 May 2019 08:29:52 AM UTC, comment #1: 

I've fixed rendering of test.tm at r11673 .

But rendering of text_box_rep of "<less>aaa" is still not correct for scm.tm .

Darcy Shen <sadhen>
Group Member
Sat 18 May 2019 07:48:33 AM UTC, original submission:  


Darcy Shen <sadhen>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #46922:  test.tm added by sadhen (117B - text/x-texmacs)
file #46923:  scm.tm added by sadhen (274B - text/x-texmacs)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by vdhoeven (Posted a comment)
  • -email is unavailable- added by sadhen (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-07-28 vdhoeven StatusReady For Test Fixed
        Assigned tosadhen vdhoeven
        Open/ClosedOpen Closed
    2019-07-19 sadhen Assigned toNone sadhen
    2019-07-05 sadhen StatusNone Ready For Test
    2019-05-18 sadhen Attached File- Added test.tm, #46922
        Attached File- Added scm.tm, #46923

    Back to the top

    Powered by Savane 3.13-aa77.
    Corresponding source code