librebarcode icon indicating copy to clipboard operation
librebarcode copied to clipboard

Affinity Publisher Designer Photo EAN 13 issue

Open ReallyNotMyFault opened this issue 4 years ago • 5 comments

Hi, the popular apps from Serif / Affinity doe not work correctly. Tested with current release 1.10.4.1197 (retail) and 1.10.5.1127 (beta) in all 3 apps (Publisher, Designer, Photo).

Affinity claims its software supports calt, and calt is actually activated by default. Never the less, the rendering gets wrong in "Standrad Input Mode". Fallback and Compatible work, but with the known undesired collateral damage of requiring pre-processing.

Any EAN 13 code entered will be mis-interpreted as 5-digit (last 5 digits).

Entered: 012345678912? Result: see image.

image

Any help highly appreciated.

ReallyNotMyFault avatar Jan 12 '22 20:01 ReallyNotMyFault

Hi, thanks for reporting.

Unfortunately I don't think I can help much, but maybe someone else from the community has any pointers.

Will Affinity let you file issues? It looks like their shaper-engine is not doing it right. It's fascinating though that it produces a 5 digit add on preceded by a wrong guard pattern.

It's not surprising that this font shows the shortcomings of some shapers, its features are rather complex and very uncommon.

graphicore avatar Jan 12 '22 21:01 graphicore

I filed a bug report there, too: https://forum.affinity.serif.com/index.php?/topic/155629-opentype-calt-ean-13-bar-code-renders-incorrect/&tab=comments#comment-877971

Unfortunately, Affinity is less then stellar in fixing bugs on their side. Assume they probably use a standard library (not OS-specific, probably cross platform MacOS / Windows / iPadOS).

ReallyNotMyFault avatar Jan 12 '22 21:01 ReallyNotMyFault

Assume they probably use a standard library

No they wrote their own shaper. This was discussed in the Affinity forum quite awhile ago. So issues like this are not uncommon.

kenmcd avatar Jan 12 '22 22:01 kenmcd

No they wrote their own shaper.

They should at least optionally support Harfbuzz. :1st_place_medal:

graphicore avatar Jan 14 '22 00:01 graphicore

No they wrote their own shaper.

They should at least optionally support Harfbuzz. 🥇

Yes, this has been requested in the forum quite a few times in discussions about issues (bugs) like this, but mostly when discussing the lack of support for complex scripts (Indic, etc.), RTL, etc. But they have not shown any intent/interest to do so.

kenmcd avatar Jan 14 '22 19:01 kenmcd