https://bugs.documentfoundation.org/show_bug.cgi?id=153328

            Bug ID: 153328
           Summary: QR code improvement: Use ZXing::ToSVG() instead of our
                    own ConvertToSVGFormat() function
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

QR code is a type of 2d barcode that is useful for encoding data, including the
URL, contact information and many other data types. The output can be easily
scanned via applications on mobile phones to capture a URL or import contact
information.

In LibreOffice, it is possible to create different barcodes, either 1d or 2d,
via extensions, or LibreOffice internal functionality.

For QR codes, it is possible to use the internal functionality via Insert > OLE
Object > QR and Barcode:

https://help.libreoffice.org/latest/en-GB/text/shared/guide/qrcode.html

QR and Barcode
This functionality is implemented using ZXing library:

https://github.com/zxing-cpp/zxing-cpp

If you take a look at the source code in cui/source/dialogs/QrCodeGenDialog.cxx
, there is ConvertToSVGFormat() function which creates the SVG output. In the
recent versions of ZXing library (We use v1.4 right now), there is a function
that does that, ZXing::ToSVG. The task here is to replace the our function with
the better one from ZXing.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to