Closed
Bug 987668
Opened 11 years ago
Closed 11 years ago
Add hyphenation resources for Polish
Categories
(Core :: Layout: Text and Fonts, enhancement)
Tracking
()
RESOLVED
FIXED
mozilla31
People
(Reporter: mikedeboer, Assigned: jfkthame)
References
(Blocks 1 open bug, )
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
49.03 KB,
patch
|
smontagu
:
review+
gerv
:
review+
|
Details | Diff | Splinter Review |
2.67 KB,
patch
|
smontagu
:
review+
|
Details | Diff | Splinter Review |
Polish hyphenation resources are available here: http://mirrors.ctan.org/language/hyph-utf8/tex/generic/hyph-utf8/patterns/tex/hyph-pl.tex
The license details suggest public domain/ non license encumbered, but I'm asking Gerv nonetheless.
Reporter | ||
Comment 1•11 years ago
|
||
Gerv, what do you make of the license/ copyright information as stated in the linked file? Can we use it to include in the tree and if not, what needs to be changed to be able to add it?
Flags: needinfo?(gerv)
Reporter | ||
Comment 2•11 years ago
|
||
FWIW, the French hyphenation rules seem to have the same text wrt licensing: https://mxr.mozilla.org/mozilla-central/source/intl/locales/fr/hyphenation/LICENSE
Comment 3•11 years ago
|
||
<sigh>
The license gives us a right to "do with this file whatever needs to be done" as long as it's "for the sake of a better world". I hereby declare that I believe that for the sake of a better world, what we need to do is treat this file as if it's under a free-software-compatible liberal license which requires the preservation of license and copyright notices ("respects the copyright") but has no other requirements of any kind, including usage restrictions.
Let us proceed on that basis.
Gerv
Flags: needinfo?(gerv)
Comment 4•11 years ago
|
||
I further declare that this reasoning applies to all files with an equivalent licensing statement. We are doing a lot for the sake of a better world today :-)
Gerv
Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #2)
> FWIW, the French hyphenation rules seem to have the same text wrt licensing:
> https://mxr.mozilla.org/mozilla-central/source/intl/locales/fr/hyphenation/
> LICENSE
The situation is slightly different for the French patterns, I think, in that the original French file stated:
83 % This file is available for free and can used and redistributed
84 % asis for free. Modified versions should have another name.
which, although over-simplified by today's standards, is clearly intended to allow free use, redistribution, and modification (provided the file name is changed).
The Polish file does not include any such statement from the original authors; it gives a history of their development, but nothing explicit regarding permission. There's a hint in the comment:
% to be used for the inclusion of Polish hyphenation patterns in any format,
% not necessarily in the MeX or LaMeX ones.
that IMO suggests the authors intended their work to be widely useful and not restricted to whatever specific systems they were aware of at the time, but that's about all we have to go on.
The "do with this file..." paragraph was added during adaptation for newer TeX systems and formats, and intends to allow such work to continue as needed, but does not in itself constitute a license for the pattern data.
Reporter | ||
Comment 6•11 years ago
|
||
(In reply to Jonathan Kew (:jfkthame) from comment #5)
> The "do with this file..." paragraph was added during adaptation for newer
> TeX systems and formats, and intends to allow such work to continue as
> needed, but does not in itself constitute a license for the pattern data.
But as we nothing more to go on and as Gerv pointed out in comment 3, the text "has no other requirements of any kind, including usage restrictions."
I think that comment 3 still stands regardless, and we're ok with including the Polish pattern data. To be safe, n-i'ing Gerv again to reply with comment 5 taken into consideration.
Comment 7•11 years ago
|
||
(In reply to Mike de Boer [:mikedeboer] from comment #6)
> (In reply to Jonathan Kew (:jfkthame) from comment #5)
> > The "do with this file..." paragraph was added during adaptation for newer
> > TeX systems and formats, and intends to allow such work to continue as
> > needed, but does not in itself constitute a license for the pattern data.
>
> But as we nothing more to go on and as Gerv pointed out in comment 3, the
> text "has no other requirements of any kind, including usage restrictions."
>
> I think that comment 3 still stands regardless, and we're ok with including
> the Polish pattern data. To be safe, n-i'ing Gerv again to reply with
> comment 5 taken into consideration.
Actually setting needinfo flag now. :-)
Flags: needinfo?(gerv)
Comment 8•11 years ago
|
||
:mikedeboer: you are slightly misinterpreting my words, but never mind.
I think that in the case of the Polish patterns, the history shows that the author intended to allow modification - because after the original person wrote it, different people modified it, and then the original person joined back in again, thereby implicitly endorsing their modifying of his original file. That, together with the "use it anywhere" statement Jonathan refers to, suggests to me that it implies the rights we need.
So you should go ahead and use it.
Gerv
Flags: needinfo?(gerv)
Reporter | ||
Comment 9•11 years ago
|
||
(In reply to Gervase Markham [:gerv] from comment #8)
> :mikedeboer: you are slightly misinterpreting my words, but never mind.
Whoops! Not my intention, apologies.
Jonathan, would you like to have the honor of adding this locale? I'm just asking because you're quite familiar with the process, as in you did this before. I can also try, but I'm just thinking of the most efficient route...
Flags: needinfo?(jfkthame)
Assignee | ||
Comment 10•11 years ago
|
||
OK, I'll take this, and try to put a patch up soon.
(Note that patterns from the TeX world need some preprocessing before we use them, otherwise they won't work as intended. There's information about this in the various READMEs in the libhyphen package; in particular, we need to apply the "substrings" tool there.)
Assignee: nobody → jfkthame
Flags: needinfo?(jfkthame)
Assignee | ||
Comment 11•11 years ago
|
||
Attachment #8397279 -
Flags: review?(smontagu)
Assignee | ||
Comment 12•11 years ago
|
||
Attachment #8397280 -
Flags: review?(smontagu)
Assignee | ||
Comment 13•11 years ago
|
||
Comment on attachment 8397279 [details] [diff] [review]
add hyphenation patterns for Polish.
Adding r?gerv to check the LICENSE file seems reasonable for this case.
Attachment #8397279 -
Flags: review?(gerv)
Updated•11 years ago
|
Keywords: dev-doc-needed
Updated•11 years ago
|
Attachment #8397279 -
Flags: review?(smontagu) → review+
Updated•11 years ago
|
Attachment #8397280 -
Flags: review?(smontagu) → review+
Assignee | ||
Comment 14•11 years ago
|
||
Tryserver says that the reftest fails (with just a few differing pixels) on several platforms: https://tbpl.mozilla.org/?tree=Try&rev=917fdfb10372.
This is happening because there's kerning between <letter><hyphen> pairs in certain cases, which affects positioning of the hyphen in the reference file; but we fail to apply the kerning on automatic hyphens (or those resulting from ­). I'll file a separate bug about that. We can work around the issue here by simply disabling kerning altogether in this testcase.
Pushed a new try run, to check this works as expected: https://tbpl.mozilla.org/?tree=Try&rev=15684681dfcc.
Assignee | ||
Comment 15•11 years ago
|
||
Gerv, could you confirm you're happy with the simple LICENSE file here? Is there any further explanation or clarification we should give?
Thanks!
Flags: needinfo?(gerv)
Comment 16•11 years ago
|
||
Please add a sentence to the part at the top which you wrote:
"The modifiers of this file give you the right to use, modify and distribute their changes in any way and for any purpose."
That way, we aren't compounding any problem there might be.
Gerv
Flags: needinfo?(gerv)
Comment 17•11 years ago
|
||
Comment on attachment 8397279 [details] [diff] [review]
add hyphenation patterns for Polish.
r=gerv with suggested change.
Gerv
Attachment #8397279 -
Flags: review?(gerv) → review+
Assignee | ||
Comment 18•11 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/e713344051f0
https://hg.mozilla.org/integration/mozilla-inbound/rev/5a58c89a71a3
Target Milestone: --- → mozilla31
Reporter | ||
Updated•11 years ago
|
Status: NEW → ASSIGNED
Comment 19•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/e713344051f0
https://hg.mozilla.org/mozilla-central/rev/5a58c89a71a3
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 20•10 years ago
|
||
Doc updated:
https://developer.mozilla.org/en-US/Firefox/Releases/31
and
https://developer.mozilla.org/en-US/docs/Web/CSS/hyphens
Keywords: dev-doc-needed → dev-doc-complete
You need to log in
before you can comment on or make changes to this bug.
Description
•