Project

General

Profile

Actions

Anomalie #1871

closed

Issues rendering PDF member cards

Added by Johan Cwiklinski 6 months ago. Updated 6 months ago.

Status:
Fermé
Priority:
Normal
Category:
Files generation
Target version:
Start date:
09/18/2024
Due date:
% Done:

100%

Estimated time:
Version utilisée:

Description

Several issues exists:
- logo size is wrong if image is landscape, works a bit better with a portrait one,
- text overriding exists,
- slogan is cropped instead of being resized.

As a workaround, it is possible to use the old file:
https://github.com/galette/galette/blob/1.0.4/galette/lib/Galette/IO/PdfMembersCards.php

A quickfix would be to revert the new card code.


Files

clipboard-202409182107-btfoz.png (63.2 KB) clipboard-202409182107-btfoz.png Johan Cwiklinski, 09/18/2024 09:07 PM
Actions #1

Updated by Johan Cwiklinski 6 months ago

See https://github.com/galette/galette/pull/535.

I've revert changes to fix all issues I've seen.
Alternative adaptative proposal has been partially fixed at least (fix provided on discord channel), it's available as an option when the GALETTE_ADAPTATIVE_CARDS constant is set to true.

Actions #2

Updated by Johan Cwiklinski 6 months ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100
Actions #3

Updated by Johan Cwiklinski 6 months ago

  • Status changed from Résolu to Fermé
  • Assignee set to Johan Cwiklinski
Actions

Also available in: Atom PDF