Menu

#2 Assertion failure

open
None
5
2003-06-23
2003-06-22
No

I get
catdvi: density.c:137: scdf_set_curr_to_x: Assertion `x
<= this->xmax' failed.
with
ajk@kukkaruukku[05:19:45]:text$ catdvi --version
catdvi 0.14
kpathsea version 3.4.5

ii catdvi 0.14-2 DVI to plain text
translator

given the attached input file (it is the smallest I
could produce).

Discussion

  • Antti-Juhani Kaijanaho

    Failing input file

     
  • Bjoern Brill

    Bjoern Brill - 2003-06-23
    • assigned_to: nobody --> bjoernb
     
  • Bjoern Brill

    Bjoern Brill - 2003-06-23

    Logged In: YES
    user_id=143679

    Hello Antti-Juhani,

    nice to hear from you again, even if it's a bug report :)

    The font you're using has a bit exotic font metrics: some
    punctuation characters, including the asterisk at the
    bottom, have negative depth. This leads to incorrectly
    calculated page boundaries, hence the assertion failure.

    I'm not sure yet how to handle negative depth (and, for that
    matter, height and width) best. I'll think about it.

    Thanks for reporting,

    Bjoern

     

Log in to post a comment.

MongoDB Logo MongoDB