Digitaler-Impfnachweis/covpass-android

Extra whitespace in EU printout

MikeMcC399 opened this issue · 7 comments

Avoid duplicates

  • Bug is not mentioned in the FAQ
  • Bug is not already reported in another issue

Technical details

  • Device name: Samsung Galaxy A52 5G SM-A526B/DS
  • Android version: 12
  • App version: 1.27.0

Describe the bug

The EU printout contains extraneous whitespace:

  • between the introductory words of each paragraph and the following text
  • between the first part of a hyphenated word and the hyphen
  • before a full-stop at the end of a sentence

See screenshot:
Certificate infos

Steps to reproduce the issue

In CovPass App

  1. Tap "+" to scan a 1/2 vaccination certificate
  2. Scroll down and tap on certificate
  3. Scroll down and tap on "Create EU printout", tap "Next"
  4. Tap Drive symbol
  5. Tap Save

On Desktop

  1. Open Drive https://drive.google.com/drive/my-drive
  2. Open saved PDF with Adobe Acrobat DC
  3. Note formatting gaps in information section

Expected behaviour

No extra white space should be shown.

Possible Fix

Review the certificate formatting.

It seems like this issue may be caused if the certificate is not rendered at 100% of the DIN A4 210 x 297 mm template size from https://raw.githubusercontent.com/Digitaler-Impfnachweis/covpass-android/main/common-app-covpass/src/main/assets/VaccinationCertificateTemplate.svg.

Edit: The issue is fixed in CWA 2.26.

corresponding CWA issue tracked in Internal Tracking ID: EXPOSUREAPP-13635

@dsarkar

This is a link to https://jira-ibs.wbs.net.sap/browse/EXPOSUREAPP-13635. Are you granting access to this link? If not, then probably it should be removed, since this is not an SAP-owned repository here.

@pucherd

Has your team had a chance to look at this issue? If yes, is there any conclusion about whether the issue is in the CovPass Android app or in the template (or maybe both)?

This issue has been fixed in the Corona-Warn-App version 2.26.

Are there plans to fix it in CovPass?

This issue is no longer reproducible in CovPass Android 1.31.0.