Digitaler-Impfnachweis / covpass-android

The official CovPass(-Check) Android apps and SDK.
https://digitaler-impfnachweis-app.de
Apache License 2.0
184 stars 59 forks source link

Extra whitespace in EU printout #222

Closed MikeMcC399 closed 2 years ago

MikeMcC399 commented 2 years ago

Avoid duplicates

Technical details

Describe the bug

The EU printout contains extraneous whitespace:

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.

MikeMcC399 commented 2 years ago

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.

MikeMcC399 commented 2 years ago

Edit: The issue is fixed in CWA 2.26.

dsarkar commented 2 years ago

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

MikeMcC399 commented 2 years ago

@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.

MikeMcC399 commented 2 years ago

@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)?

MikeMcC399 commented 2 years ago

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

Are there plans to fix it in CovPass?

MikeMcC399 commented 2 years ago

This issue is no longer reproducible in CovPass Android 1.31.0.