No, the character box on the x-axis is [-95,5], and `[xmin, xmax] = [0, 10]`
So `[0,5]` is the common part. They are not completely separated.


On Fri, Apr 5, 2013 at 11:16 PM, John Hewson <notifications@github.com>wrote:

> In src/HTMLRenderer/text.cc:
>
> >
> >          if(is_space && (param->space_as_offset))
> >          {
> >              // ignore horiz_scaling, as it's merged in CTM
> > -            text_line_buf->append_offset((dx1 * cur_font_size + cur_letter_space + cur_word_space) * draw_text_scale);
> > +            text_line_buf->append_offset((char_dx * state->getFontSize() + state->getCharSpace() + state->getWordSpace()) * draw_text_scale);
> > +        }
> > +        else if(x + dev_total_dx + dev_dx < xMin - EPS || x + dev_total_dx > xMax + EPS ||
>
> That would be 5 + (-100) < 0 which is correct - the character box lies
> entirely to the left of the clipping area.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/coolwanglu/pdf2htmlEX/pull/114/files#r3674757>
> .
>