← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 811766] Re: Letter spacing is not respected with Webkit BVR report

 

Hello,

Ok I got the point it is the same problem that have some other libs pdf libs.
In fact wkhtml2pdf by default use the 94dpi resolution.  You can also set resolution trough option --dpi.

But as soon that a system has a graphical server this argument is not
taken in account any more and the actual parameter of the system are
used.

So no real out-of-the-box fix. The only solution I have is to add a
parameter that will allows end user to set x and y offset and font
scaling option for the scan line in first time and for all the BVR for
trunk version.

I will propose a fix for stable version Next week.

Regards

Nicolas

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/811766

Title:
  Letter spacing is not respected with Webkit BVR report

Status in OpenERP Modules (addons):
  New

Bug description:
  On a stock new install of OpenERP6 with Swiss localization, the letter spacing of the OCR-B font is not respected in the BVR. It seems that webkit is slightly extending the spacing (to fit the document width?), which results in rejected BVR.
  This issue was not present with the RML BVR. To illustrate this, I printed an invoice with BVR and merged it with the official BVR model from Postfinance (blue font). As you can see in the PDF, webkit is extending the letter spacing.
  I also tried to reduce the font-size, to specify letter-spacing, in all units, but found no way to address this.
  You should also add a space after the + sign in the reference line.
  Anyway, thanks for this great localization!

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/811766/+subscriptions


References