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

Submitted by:  Darcy Shen <sadhen>
Submitted on:  Sat 18 May 2019 07:48:33 AM UTC  
 
Category:  Typesetter Priority:  5 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  Joris van der Hoeven <vdhoeven>
Originator Name:  Open/Closed:  Closed
Release:  Release:  None
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>
Project AdministratorIn charge of this item.
Fri 05 Jul 2019 03:31:09 PM UTC, comment #3: 

It seems that r12058 fixed it.

Darcy Shen <sadhen>
Project 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>
Project 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>
Project Member
Sat 18 May 2019 07:48:33 AM UTC, original submission:  
Darcy Shen <sadhen>
Project Member

 

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)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    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.5