Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.bugs.dist > #1133793 > unrolled thread
| Started by | Jorge Moraleda <jorge.moraleda@gmail.com> |
|---|---|
| First post | 2023-01-18 20:40 +0100 |
| Last post | 2023-01-24 14:50 +0100 |
| Articles | 8 on this page of 28 — 6 participants |
Back to article view | Back to linux.debian.bugs.dist
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Jorge Moraleda <jorge.moraleda@gmail.com> - 2023-01-18 20:40 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-19 09:20 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-19 09:40 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" James Cloos <cloos@jhcloos.com> - 2023-01-19 19:20 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-20 11:30 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Jorge Moraleda <jorge.moraleda@cytopar.com> - 2023-01-19 20:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Fabian Greffrath <fabian@debian.org> - 2023-01-20 08:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-20 12:00 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-20 12:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-20 16:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-20 20:00 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Jorge Moraleda <jorge.moraleda@cytopar.com> - 2023-01-20 19:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-20 23:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" James Cloos <cloos@jhcloos.com> - 2023-01-21 01:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" James Cloos <cloos@jhcloos.com> - 2023-01-21 19:20 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Fabian Greffrath <fabian@debian.org> - 2023-01-21 20:40 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-22 14:50 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-23 12:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-23 14:30 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-23 14:40 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-23 18:30 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-24 08:40 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-24 11:50 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-24 12:00 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-24 12:10 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-24 14:00 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" fabian@greffrath.com - 2023-01-24 14:30 +0100
Bug#1029168: fonts-urw-base35: Apache pdfbox cannot load fonts. Complains "Start marker missing" Roland Rosenfeld <roland@debian.org> - 2023-01-24 14:50 +0100
Page 2 of 2 — ← Prev page 1 [2]
| From | Roland Rosenfeld <roland@debian.org> |
|---|---|
| Date | 2023-01-23 18:30 +0100 |
| Message-ID | <FR8NP-CqI-11@gated-at.bofh.it> |
| In reply to | #1133793 |
Hi Fabian! On Mon, 23 Jan 2023, fabian@greffrath.com wrote: > Would it make sense to disassemble and reassemble the newly created files as > some sort of additional smoke test? Sounds as a good idea to me. I realized all your suggestions in https://salsa.debian.org/roland/fonts-urw-base35/-/commit/127df27b Now we only have to solve the lintian error license-problem-font-adobe-copyrighted-fragment-no-credit issue... Greetings Roland
[toc] | [prev] | [next] | [standalone]
| From | fabian@greffrath.com |
|---|---|
| Date | 2023-01-24 08:40 +0100 |
| Message-ID | <FRm4p-KU3-1@gated-at.bofh.it> |
| In reply to | #1134553 |
Hi Roland, Am 23.01.2023 18:23, schrieb Roland Rosenfeld: > Now we only have to solve the lintian error > license-problem-font-adobe-copyrighted-fragment-no-credit issue... wow, the information given here is not really helpful. What can/should we do? https://wiki.debian.org/qa.debian.org/type1nondfsg - Fabian
[toc] | [prev] | [next] | [standalone]
| From | Roland Rosenfeld <roland@debian.org> |
|---|---|
| Date | 2023-01-24 11:50 +0100 |
| Message-ID | <FRp2h-NbG-1@gated-at.bofh.it> |
| In reply to | #1134634 |
Hi fabian! On Tue, 24 Jan 2023, fabian@greffrath.com wrote: > Am 23.01.2023 18:23, schrieb Roland Rosenfeld: > > Now we only have to solve the lintian error > > license-problem-font-adobe-copyrighted-fragment-no-credit issue... > > wow, the information given here is not really helpful. What can/should we > do? > > https://wiki.debian.org/qa.debian.org/type1nondfsg Legal issues are the horror to me... I dived into the referenced bug #665334 and read in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665334#173 that some of the code is based on Adobe Font Development Kit for OpenType (AFDKO), which is licensed under Apache-2.0 license. But I didn't compare the code in AFDKO and the urw-base35 fonts so far. But it's also possible that urw-base35 is based on an older version of fontforge, which still has this issue. So maybe this issue is already solved and lintian has to be updated/overriden but it's also possible that this issue still persists and has to be solved by URW. Maybe some of the contributors of #665334 can assist here? Greetings Roland
[toc] | [prev] | [next] | [standalone]
| From | fabian@greffrath.com |
|---|---|
| Date | 2023-01-24 12:00 +0100 |
| Message-ID | <FRpbX-NfF-23@gated-at.bofh.it> |
| In reply to | #1134647 |
Hey Roland, Am 24.01.2023 11:42, schrieb Roland Rosenfeld: > Legal issues are the horror to me... yep, me too. I have decided not to become a lawyer for a reasson. ;) > So maybe this issue is already solved and lintian has to be > updated/overriden but it's also possible that this issue still > persists and has to be solved by URW. Some packages see it quite pragmatically: https://github.com/debian-tex/lmodern/commit/f2d47ac8cd73f847ef741d20f905165f62916e0b Cheers, - Fabian
[toc] | [prev] | [next] | [standalone]
| From | fabian@greffrath.com |
|---|---|
| Date | 2023-01-24 12:10 +0100 |
| Message-ID | <FRplD-NyY-7@gated-at.bofh.it> |
| In reply to | #1134647 |
Wild idea: The AFDKO is Apache licensed. Would it be possible to install the afdko-bin package and use its /usr/libexec/afdko/detype1 and /usr/libexec/afdko/type1 scripts to disassemble and reassemble the font files? And will this probably replace the code in question with its Apache licensed pendants? - Fabian
[toc] | [prev] | [next] | [standalone]
| From | Roland Rosenfeld <roland@debian.org> |
|---|---|
| Date | 2023-01-24 14:00 +0100 |
| Message-ID | <FRr45-Os5-1@gated-at.bofh.it> |
| In reply to | #1134653 |
On Tue, 24 Jan 2023, fabian@greffrath.com wrote:
> The AFDKO is Apache licensed. Would it be possible to install the
> afdko-bin package and use its /usr/libexec/afdko/detype1 and
> /usr/libexec/afdko/type1 scripts to disassemble and reassemble the
> font files? And will this probably replace the code in question with
> its Apache licensed pendants?
On a first try I wasn't able to run type1 on the detype1 output (fails
with "bad token in charsting"), but didn't dig deeper with this.
Instead I compared the problematic code fragment from the following book:
https://web.archive.org/web/20150321034514/http://partners.adobe.com/public/developer/en/font/T1_SPEC.PDF
Appendix 3, page 95 (of the book) page 101 (of the PDF).
with the output of t1disasm of the urw-base35 fonts.
While the code fragment in the book is 181 lines a diff with one of
the urw-base35 fonts shows only the following copied code lines:
{systemdict /internaldict known not
{pop 3}
{1183615869 systemdict /internaldict get exec
dup /startlock known
{/startlock get exec}
{dup /strtlck known
{/strtlck get exec}
{pop 3}
ifelse}
ifelse}
ifelse
} executeonly
] noaccess def
Since it contains the string "startlock get exec" it triggers the
lintian error.
I searched for the number (1183615869) in afdko source and found the
following file:
https://github.com/adobe-type-tools/afdko/blob/develop/c/shared/source/t1write/t1write_hintothers.h
/* Copyright 2014 Adobe Systems Incorporated (http://www.adobe.com/). All Rights Reserved.
This software is licensed as OpenSource, under the Apache License, Version 2.0.
This license is available at: http://opensource.org/licenses/Apache-2.0. */
"/OtherSubrs[{}{}{}{systemdict/internaldict known not{pop 3}{1183615869\n"
"systemdict/internaldict get exec dup/startlock known{/startlock get exec}{dup\n"
"/strtlck known{/strtlck get exec}{pop 3}ifelse}ifelse}ifelse}executeonly]def\n"
As far as I can see that is exactly the code, that I found in the
urw-base35 fonts and that triggers the lintian error.
And as the header says, it is under Apache 2.0 license.
So lintian is wrong here and we can add lintian-overrides for this.
According to
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=665334#173
Apache-2.0 should be compatible with GPL-3 (the license of
fonts-urw-base35), so everything should be okay with this.
After fixing some issues in check-fonts-urw-base35-scale and adding
lintian-overrides (after some typos) this may be ready for a merge
request soon...
Greetings
Roland
[toc] | [prev] | [next] | [standalone]
| From | fabian@greffrath.com |
|---|---|
| Date | 2023-01-24 14:30 +0100 |
| Message-ID | <FRrx7-OS4-3@gated-at.bofh.it> |
| In reply to | #1134660 |
Hi Sherlock, Am 24.01.2023 13:47, schrieb Roland Rosenfeld: > So lintian is wrong here and we can add lintian-overrides for this. o_O Impressive! Could you please add a lintian overrides with a reference to this finding? And probably file a bug against lintian? I guess this might have some impact on other packages providing Type1 font files as well. Thank you very much! - Fabian
[toc] | [prev] | [next] | [standalone]
| From | Roland Rosenfeld <roland@debian.org> |
|---|---|
| Date | 2023-01-24 14:50 +0100 |
| Message-ID | <FRrQt-P0p-11@gated-at.bofh.it> |
| In reply to | #1134662 |
Hi Fabian! On Tue, 24 Jan 2023, fabian@greffrath.com wrote: > Hi Sherlock, :-) > Could you please add a lintian overrides with a reference to this finding? I just referenced http://bugs.debian.org/1029555 in the lintian-overrides. > And probably file a bug against lintian? Already did so: http://bugs.debian.org/1029555 > I guess this might have some impact on other packages providing > Type1 font files as well. Someone should update the wiki page referenced by lintian: https://wiki.debian.org/qa.debian.org/type1nondfsg I already replaced the links by links to archive.org (since the original URLs are no longer existing), but maybe the sentence "Adobe seems willing to relicense see mail here." should be updated pointing to https://github.com/adobe-type-tools/afdko/blob/develop/c/shared/source/t1write/t1write_hintothers.h But I fear that I could make the page even worse, if I just change it... Greetings Roland
[toc] | [prev] | [standalone]
Page 2 of 2 — ← Prev page 1 [2]
Back to top | Article view | linux.debian.bugs.dist
csiph-web