bugGNU TeXmacs - Bugs: bug #47186, spacing allocating in a Chinese...

 
 

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

bug #47186: spacing allocating in a Chinese document

Submitted by:  Darcy Shen <sadhen>
Submitted on:  Thu 18 Feb 2016 08:43:29 AM UTC  
 
Category:  Typesetter Priority:  5 - Normal
Item Group:  Error 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 01 Nov 2020 11:24:13 AM UTC, comment #3: 

I commented out the code for wide CJK punctuation in text_language.cpp

I am still confused, because I am sure that I wrote that code for some purpose.  Maybe back when I wrote it, there were several fonts which did not do the spacing correctly.  For instance, the TakaoPMincho and TakaoPGothic fonts do benefit from the extra space.  But it is true that most fonts don't, so I removed the extra space (revision 13047).

Joris van der Hoeven <vdhoeven>
Project AdministratorIn charge of this item.
Mon 23 Dec 2019 01:30:41 PM UTC, comment #2: 

The space after a punctuation still looks too wide, even if the line is not full.

<TeXmacs|1.99.12>

<style|<tuple|generic|chinese>>

<\body>
  \<#6D4B\>\<#FF0C\>\<#8BD5\>
</body>

<initial|<\collection>
</collection>>

According to W3C:

> Pause or stop punctuation marks include the slight-pause comma, comma, semicolon, colon, period, question mark, exclamation mark, etc. They take the same dimensions as well as the direction as a character in their respective writing modes does.

EFanZh <efanzh>
Fri 23 Jun 2017 03:19:04 PM UTC, comment #1: 

I think that this depends on the font and on whether your line is full or not (I made the spacing around punctuation a bit more stretchable).  If things are really wrong, then please provide me with a detailed algorithm of how to compute the correct space; I admit that I found it hard to find this info on the web.

Joris van der Hoeven <vdhoeven>
Project AdministratorIn charge of this item.
Thu 18 Feb 2016 08:43:29 AM UTC, original submission:  

the spacing after 。 is far more as it after 永

Darcy Shen <sadhen>
Project Member

 

Attached Files
file #36376:  test.tm added by sadhen (775B - text/texmacs)
file #36377:  test.pdf added by sadhen (9KiB - application/pdf)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by efanzh (Posted a comment)
  • -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 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-11-01 vdhoeven Priority3 - Low => 5 - Normal
        StatusPostponed => Fixed
        Open/ClosedOpen => Closed
    2017-06-23 vdhoeven Priority5 - Normal => 3 - Low
        Item GroupNone => Error
        StatusNone => Postponed
        Assigned toNone => vdhoeven
    2016-02-18 sadhen Attached File- => Added test.tm, #36376
        Attached File- => Added test.pdf, #36377

    Back to the top


    Powered by Savane 3.6