bugGNU TeXmacs - Bugs: bug #37472, Big font size typesetting is broken

 
 

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

bug #37472: Big font size typesetting is broken

Submitted by:  Francois Poulain <fpoulain>
Submitted on:  Sun Sep 30 12:18:25 2012  
 
Category: TypesetterPriority: 3 - Low
Item Group: ErrorStatus: Confirmed
Privacy: PublicAssigned to: Joris van der Hoeven <vdhoeven>
Originator Name: Open/Closed: Open
Release: svn7190Release: None
Fixed Release: NoneFixed Release: 
Keywords: 

(Jump to the original submission Jump to the original submission)

Tue Dec 3 12:42:28 2013, comment #6:

I agree with forgetting TeX's fonts problems.

Also, another problem occurs for big size. Try e.g. with a font styx of size 300 : TeXmacs crashes. I didn't investigated the problem, but it might be due to an int overflow.

So I reopen the bug, the crash should be avoided.

Francois Poulain <fpoulain>
Project Member
Tue Dec 3 11:11:35 2013, comment #5:

In the present state, there is not much that we can do about this bug, except hoping that people don't use strange font sizes. In the feature, now that Max completed the native Pdf rendering engine, we should slowly move towards exclusive use of truetype and opentype fonts. At a certain point, this bug should disappear automatically.

Joris van der Hoeven <vdhoeven>
Project AdministratorIn charge of this item.
Mon Oct 28 08:32:41 2013, comment #4:

arf ...

Francois Poulain <fpoulain>
Project Member
Sat Oct 26 21:56:20 2013, comment #3:

For certain LaTeX fonts, it is possible to have non integer font sizes, by multiplying the font size by 100. For instance, larm10 would be equivalent to larm1000 and larm1050 would stand for a 10.5 point larm font. One should be careful to fix bugs concerning font sizes >= 100 at the right place because of this...

Joris van der Hoeven <vdhoeven>
Project AdministratorIn charge of this item.
Sat Oct 19 12:54:00 2013, comment #2:

See the attached file fixbug37472.patch for a "solution". Joris should check this and see what can be done.

There are btw some occurrences of seemingly arbitrary values in the same file, like

and a few more. They look a bit suspicious. What if I am editing some giant poster?

(file #29419)

Miguel de Benito <mdbenito>
Project Member
Thu Aug 15 13:07:50 2013, comment #1:

Inside Metafont/load_tex.cpp, try_tfm(), the following lines

apply a factor to the second field in the tex font metrics header. This is the design_size, retrieved later for computation of the extents, among others. The code in this function is mysterious:

Bypassing the call to mag() at the function above the issue is solved:

However I wonder what the purpose of such a computation might be. The function is used at several other places, so perhaps we ought to fix it instead of not use it?

Miguel de Benito <mdbenito>
Project Member
Sun Sep 30 12:18:25 2012, original submission:

This code works : <with|font-base-size|99|<TeXmacs>>
This code is badly rendered : <with|font-base-size|100|<TeXmacs>>
The horizontal shift between characters is bad when the font size go too big.

Francois Poulain <fpoulain>
Project Member

 

Attached Files
file #29419:  fixbug37472.patch added by mdbenito (634B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by vdhoeven (Posted a comment)
  • -unavailable- added by mdbenito (Posted a comment)
  • -unavailable- added by fpoulain (Submitted the item)
  •  

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

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue Dec 3 12:42:28 2013fpoulainStatusPostponed=>Confirmed
    Tue Dec 3 11:11:35 2013vdhoevenPriority5 - Normal=>3 - Low
      StatusIn Progress=>Postponed
    Fri Nov 29 18:14:30 2013vdhoevenAssigned tomdbenito=>vdhoeven
    Sat Oct 19 12:54:00 2013mdbenitoAttached File-=>Added fixbug37472.patch, #29419
    Thu Aug 15 13:07:50 2013mdbenitoItem GroupNone=>Error
      StatusNone=>In Progress
      Assigned toNone=>mdbenito
      Release=>svn7190

    Back to the top


    Powered by Savane 3.1-cleanup