OK, I think I squashed that one.
For some reasons, in GetCharWidth font spacing was ignored for the last character only when it was positive. Ignoring it when it is different from 0 fixes the issue :
if(($this->font_spacing<0)OR(($this->font_spacing>0)AND$notlast)){// Shall be changed to :if($this->font_spacing!=0AND$notlast){
Last edit: Mathieu Masseboeuf 2015-12-31
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
OK, I think I squashed that one.
For some reasons, in GetCharWidth font spacing was ignored for the last character only when it was positive. Ignoring it when it is different from 0 fixes the issue :
Last edit: Mathieu Masseboeuf 2015-12-31