You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlgraphics.apache.org by ss...@apache.org on 2026/10/22 09:36:43 UTC
(xmlgraphics-fop) branch main updated: FOP-3361: Fix Bengali ya-phala and conjuncts with Lohit Bengali
This is an automated email from the ASF dual-hosted git repository.
asf-gitbox-commits pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/xmlgraphics-fop.git
The following commit(s) were added to refs/heads/main by this push:
new d019e064c FOP-3361: Fix Bengali ya-phala and conjuncts with Lohit Bengali
d019e064c is described below
commit d019e064c57f55966edb222da7327e068e8d7496
Author: Simon Steiner <ss...@apache.org>
AuthorDate: Thu Oct 22 10:36:27 2026 +0100
FOP-3361: Fix Bengali ya-phala and conjuncts with Lohit Bengali
---
README | 8 ++
.../scripts/BengaliScriptProcessor.java | 75 +++++++++++++++
.../scripts/IndicScriptProcessor.java | 18 ++--
.../complexscripts/scripts/BengaliTestCase.java | 49 ++++++++++
fop/test/resources/fonts/ttf/Lohit-Bengali.LICENSE | 105 +++++++++++++++++++++
fop/test/resources/fonts/ttf/Lohit-Bengali.ttf | Bin 0 -> 131548 bytes
.../fonts/ttf/NotoSansBengali-Regular.LICENSE | 101 ++++++++++++++++++++
.../fonts/ttf/NotoSansBengali-Regular.ttf | Bin 0 -> 141064 bytes
8 files changed, 350 insertions(+), 6 deletions(-)
diff --git a/README b/README
index fb4314963..79aa381ca 100644
--- a/README
+++ b/README
@@ -48,6 +48,14 @@ License version 2.0:
- DejaVu LGC Serif font (TrueType)
File: test/resources/fonts/DejaVuLGCSerif.ttf
Info: test/resources/fonts/DejaVuLGCSerif.LICENSE
+- Lohit Bengali font (TrueType), licensed under the SIL Open Font License 1.1
+ Homepage: https://pagure.io/lohit
+ File: fop/test/resources/fonts/ttf/Lohit-Bengali.ttf
+ Info: fop/test/resources/fonts/ttf/Lohit-Bengali.LICENSE
+- Noto Sans Bengali font (TrueType), licensed under the SIL Open Font License 1.1
+ Homepage: https://github.com/notofonts/bengali
+ File: fop/test/resources/fonts/ttf/NotoSansBengali-Regular.ttf
+ Info: fop/test/resources/fonts/ttf/NotoSansBengali-Regular.LICENSE
Where to get help?
diff --git a/fop-core/src/main/java/org/apache/fop/complexscripts/scripts/BengaliScriptProcessor.java b/fop-core/src/main/java/org/apache/fop/complexscripts/scripts/BengaliScriptProcessor.java
index f5a8c47b4..e7e288a25 100644
--- a/fop-core/src/main/java/org/apache/fop/complexscripts/scripts/BengaliScriptProcessor.java
+++ b/fop-core/src/main/java/org/apache/fop/complexscripts/scripts/BengaliScriptProcessor.java
@@ -19,8 +19,10 @@
package org.apache.fop.complexscripts.scripts;
+import org.apache.fop.complexscripts.fonts.GlyphTable;
import org.apache.fop.complexscripts.util.CharAssociation;
import org.apache.fop.complexscripts.util.GlyphSequence;
+import org.apache.fop.complexscripts.util.ScriptContextTester;
// CSOFF: LineLengthCheck
@@ -39,6 +41,79 @@ public class BengaliScriptProcessor extends IndicScriptProcessor {
return BengaliSyllabizer.class;
}
+ private static final String[] REPH_FEATURES = { "rphf" };
+ private static final String[] POST_BASE_FEATURES = { "pref", "blwf", "pstf" };
+
+ @Override
+ protected GlyphSequence applyBasicShaping(GlyphSequence glyphs, String script, String language,
+ GlyphTable.UseSpec[] useSpecs, ScriptContextTester contextTester) {
+ int rephEnd = (isReph(glyphs) && wouldSubstitute(glyphs, 0, 2, REPH_FEATURES, script, language, useSpecs, contextTester)) ? 2 : 0;
+ // scan backwards for consonants that take a post-base form with their preceding halant, stopping at the base consonant;
+ // where a post-base form is only defined for CONSONANT + HALANT (old spec fonts), move the halant after the consonant
+ boolean postBase = false;
+ for (int index = glyphs.getGlyphCount() - 1; index > rephEnd + 1; index--) {
+ if (containsConsonant(glyphs, index)) {
+ if (!isGlyphChar(glyphs, index - 1, 0x09CD)) {
+ break;
+ }
+ if (!wouldSubstitute(glyphs, index - 1, 2, POST_BASE_FEATURES, script, language, useSpecs, contextTester)) {
+ GlyphSequence reordered = GlyphSequence.reorder(glyphs, index - 1, 1, index + 1);
+ if (!wouldSubstitute(reordered, index - 1, 2, POST_BASE_FEATURES, script, language, useSpecs, contextTester)) {
+ break;
+ }
+ glyphs = reordered;
+ }
+ postBase = true;
+ index--;
+ }
+ }
+ // apply post-base forms first, so that their halants are not taken by half forms of preceding consonants
+ if (postBase) {
+ for (String feature : POST_BASE_FEATURES) {
+ for (GlyphTable.UseSpec useSpec : useSpecs) {
+ if (useSpec.getFeature().equals(feature)) {
+ glyphs.setPredications(true);
+ glyphs = useSpec.substitute(glyphs, script, language, contextTester);
+ }
+ }
+ }
+ }
+ return super.applyBasicShaping(glyphs, script, language, useSpecs, contextTester);
+ }
+
+ private static GlyphSequence subsequence(GlyphSequence glyphs, int offset, int count) {
+ return new GlyphSequence(glyphs, null, glyphs.getGlyphs(offset, count), null, null, glyphs.getAssociations(offset, count), null);
+ }
+
+ private static boolean wouldSubstitute(GlyphSequence glyphs, int offset, int count, String[] features, String script,
+ String language, GlyphTable.UseSpec[] useSpecs, ScriptContextTester contextTester) {
+ for (String feature : features) {
+ GlyphSequence candidate = subsequence(glyphs, offset, count);
+ candidate.setPredications(false);
+ int[] original = candidate.getGlyphs(0, -1);
+ for (GlyphTable.UseSpec useSpec : useSpecs) {
+ if (useSpec.getFeature().equals(feature)) {
+ candidate = useSpec.substitute(candidate, script, language, contextTester);
+ candidate.setPredications(false);
+ }
+ }
+ if (!GlyphSequence.sameGlyphs(original, candidate.getGlyphs(0, -1))) {
+ return true;
+ }
+ }
+ return false;
+ }
+
+ private static boolean isReph(GlyphSequence glyphs) {
+ return (glyphs.getGlyphCount() > 2) && isGlyphChar(glyphs, 0, 0x09B0) && isGlyphChar(glyphs, 1, 0x09CD);
+ }
+
+ private static boolean isGlyphChar(GlyphSequence glyphs, int glyphIndex, int codePoint) {
+ CharAssociation association = glyphs.getAssociation(glyphIndex);
+ int[] chars = glyphs.getCharacterArray(false);
+ return (association.getEnd() - association.getStart() == 1) && (chars[association.getStart()] == codePoint);
+ }
+
@Override
// find rightmost pre-base matra
protected int findPreBaseMatra(GlyphSequence glyphs) {
diff --git a/fop-core/src/main/java/org/apache/fop/complexscripts/scripts/IndicScriptProcessor.java b/fop-core/src/main/java/org/apache/fop/complexscripts/scripts/IndicScriptProcessor.java
index 429503858..acac3bcf0 100644
--- a/fop-core/src/main/java/org/apache/fop/complexscripts/scripts/IndicScriptProcessor.java
+++ b/fop-core/src/main/java/org/apache/fop/complexscripts/scripts/IndicScriptProcessor.java
@@ -191,12 +191,7 @@ public class IndicScriptProcessor extends DefaultScriptProcessor {
for (int i = 0, n = sa.length; i < n; i++) {
GlyphSequence s = sa [ i ];
// apply basic shaping subs
- for (GlyphTable.UseSpec us : usa) {
- if (isBasicShapingUse(us)) {
- s.setPredications(true);
- s = us.substitute(s, script, language, sct);
- }
- }
+ s = applyBasicShaping(s, script, language, usa, sct);
// reorder pre-base matra
s = reorderPreBaseMatra(s);
// reorder reph
@@ -215,6 +210,17 @@ public class IndicScriptProcessor extends DefaultScriptProcessor {
return unsyllabize(gs, sa);
}
+ protected GlyphSequence applyBasicShaping(GlyphSequence syllable, String script, String language,
+ GlyphTable.UseSpec[] useSpecs, ScriptContextTester contextTester) {
+ for (GlyphTable.UseSpec useSpec : useSpecs) {
+ if (isBasicShapingUse(useSpec)) {
+ syllable.setPredications(true);
+ syllable = useSpec.substitute(syllable, script, language, contextTester);
+ }
+ }
+ return syllable;
+ }
+
/**
* Get script specific syllabizer class.
* @return a syllabizer class object or null
diff --git a/fop-core/src/test/java/org/apache/fop/complexscripts/scripts/BengaliTestCase.java b/fop-core/src/test/java/org/apache/fop/complexscripts/scripts/BengaliTestCase.java
index df0acf373..c9d9db752 100644
--- a/fop-core/src/test/java/org/apache/fop/complexscripts/scripts/BengaliTestCase.java
+++ b/fop-core/src/test/java/org/apache/fop/complexscripts/scripts/BengaliTestCase.java
@@ -18,6 +18,7 @@
/* $Id$ */
package org.apache.fop.complexscripts.scripts;
+import java.io.File;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
@@ -26,12 +27,16 @@ import org.junit.Assert;
import org.junit.Test;
import org.apache.fop.apps.io.InternalResourceResolver;
+import org.apache.fop.apps.io.ResourceResolverFactory;
import org.apache.fop.complexscripts.fonts.GlyphClassTable;
import org.apache.fop.complexscripts.fonts.GlyphDefinitionTable;
import org.apache.fop.complexscripts.fonts.GlyphSubtable;
+import org.apache.fop.complexscripts.fonts.OTFLanguage;
import org.apache.fop.complexscripts.fonts.OTFScript;
+import org.apache.fop.complexscripts.util.GlyphSequence;
import org.apache.fop.fonts.EmbeddingMode;
import org.apache.fop.fonts.MultiByteFont;
+import org.apache.fop.fonts.truetype.OFFontLoader;
public class BengaliTestCase {
@@ -63,6 +68,50 @@ public class BengaliTestCase {
Assert.assertTrue(actual.endsWith("\u0995"));
}
+ @Test
+ public void testHelloWorld() throws Exception {
+ final String font = "test/resources/fonts/ttf/Lohit-Bengali.ttf";
+ // "\u09b9\u09cd\u09af\u09be\u09b2\u09cb \u0993\u09af\u09bc\u09be\u09b0\u09cd\u09b2\u09cd\u09a1" (hello world)
+ final String text =
+ "\u09b9\u09cd\u09af\u09be\u09b2\u09cb \u0993\u09af\u09bc\u09be\u09b0\u09cd\u09b2\u09cd\u09a1";
+ // glyph ids in Lohit-Bengali.ttf
+ final int[] glyphs = {
+ 98, 156, 101, // habeng, yabeng_viramabeng.pstf, aavowelbeng
+ 108, 94, 101, // evowelbeng, labeng, aavowelbeng: O sign split, pre-base E reordered before LA
+ 3, // space
+ 65, // obeng
+ 117, 101, // yyabeng, aavowelbeng
+ 360, 440 // labeng_viramabeng_ddabeng, rabeng_viramabeng: reph reordered after base
+ };
+ Assert.assertArrayEquals(glyphs, shape(font, OTFScript.BENGALI_V2, text));
+ Assert.assertArrayEquals(glyphs, shape(font, OTFScript.BENGALI, text));
+ }
+
+ @Test
+ public void testConjuncts() throws Exception {
+ // "হ্যালো ক্ত ল্ড": ya-phala and conjuncts formed by contextual half forms
+ final String text = "\u09B9\u09CD\u09AF\u09BE\u09B2\u09CB \u0995\u09CD\u09A4 \u09B2\u09CD\u09A1";
+ // glyph ids in NotoSansBengali-Regular.ttf, as shaped by HarfBuzz
+ final int[] glyphs = {
+ 56, 409, 59, // uni09B9, uni09AF.pstf.short, uni09BE
+ 66, 52, 59, // uni09C7, uni09B2, uni09BE
+ 7, // space
+ 151, 320, 346, // uni09A409CD09A4, uni0995.arm2, headlinebeng.200: KA + VIRAMA + TA conjunct
+ 7, // space
+ 243, 262 // uni09B209CD.half3, uni09A1.side: half LA + DDA
+ };
+ final String font = "test/resources/fonts/ttf/NotoSansBengali-Regular.ttf";
+ Assert.assertArrayEquals(glyphs, shape(font, OTFScript.BENGALI_V2, text));
+ }
+
+ private static int[] shape(String fontFile, String script, String text) throws Exception {
+ InternalResourceResolver resourceResolver =
+ ResourceResolverFactory.createDefaultInternalResourceResolver(new File(".").toURI());
+ MultiByteFont font = (MultiByteFont) new OFFontLoader(new File(fontFile).toURI(), resourceResolver).getFont();
+ GlyphSequence sequence = font.charSequenceToGlyphSequence(text, null);
+ return font.getGSUB().substitute(sequence, script, OTFLanguage.DEFAULT).getGlyphs(0, -1);
+ }
+
static class MyMultiByteFont extends MultiByteFont {
MyMultiByteFont(InternalResourceResolver resourceResolver, EmbeddingMode embeddingMode) {
super(resourceResolver, embeddingMode);
diff --git a/fop/test/resources/fonts/ttf/Lohit-Bengali.LICENSE b/fop/test/resources/fonts/ttf/Lohit-Bengali.LICENSE
new file mode 100644
index 000000000..cf6187fe6
--- /dev/null
+++ b/fop/test/resources/fonts/ttf/Lohit-Bengali.LICENSE
@@ -0,0 +1,105 @@
+Lohit Bengali (TrueType font), Version 2.91.5
+Homepage: https://pagure.io/lohit
+
+The following copyright notice is reproduced from the font's name table:
+
+Copyright 2011-15 Lohit Fonts Project contributors.
+<http://fedorahosted.org/lohit>
+Open type tables written by:
+Pravin Satpute <psatpute AT redhat DOT com>
+Sneha Kore <skore AT redhat DOT com> and Shilpa Gite <sgite AT redhat DOT com>
+
+Lohit is trademark of RedHat, Inc.
+
+The font is included unmodified, for testing purposes only.
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+ The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+ Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+ in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+ redistributed and/or sold with any software, provided that each copy
+ contains the above copyright notice and this license. These can be
+ included either as stand-alone text files, human-readable headers or
+ in the appropriate machine-readable metadata fields within text or
+ binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+ Name(s) unless explicit written permission is granted by the corresponding
+ Copyright Holder. This restriction only applies to the primary font
+ name as presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+ Software shall not be used to promote, endorse or advertise any
+ Modified Version, except to acknowledge the contribution(s) of the
+ Copyright Holder(s) and the Author(s) or with their explicit written
+ permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+ must be distributed entirely under this license, and must not be
+ distributed under any other license. The requirement for fonts to
+ remain under this license does not apply to any document created
+ using the Font Software.
+
+TERMINATION
+ This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/fop/test/resources/fonts/ttf/Lohit-Bengali.ttf b/fop/test/resources/fonts/ttf/Lohit-Bengali.ttf
new file mode 100644
index 000000000..382343375
Binary files /dev/null and b/fop/test/resources/fonts/ttf/Lohit-Bengali.ttf differ
diff --git a/fop/test/resources/fonts/ttf/NotoSansBengali-Regular.LICENSE b/fop/test/resources/fonts/ttf/NotoSansBengali-Regular.LICENSE
new file mode 100644
index 000000000..4063c9d9b
--- /dev/null
+++ b/fop/test/resources/fonts/ttf/NotoSansBengali-Regular.LICENSE
@@ -0,0 +1,101 @@
+Noto Sans Bengali (TrueType font), Version 3.011
+Homepage: https://github.com/notofonts/bengali
+
+The following copyright notice is reproduced from the font's name table:
+
+Copyright 2025 The Noto Project Authors (https://github.com/notofonts/bengali)
+
+Noto is a trademark of Google Inc.
+
+The font is included unmodified, for testing purposes only.
+
+This Font Software is licensed under the SIL Open Font License, Version 1.1.
+This license is copied below, and is also available with a FAQ at:
+https://openfontlicense.org
+
+-----------------------------------------------------------
+SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
+-----------------------------------------------------------
+
+PREAMBLE
+ The goals of the Open Font License (OFL) are to stimulate worldwide
+development of collaborative font projects, to support the font creation
+efforts of academic and linguistic communities, and to provide a free and
+open framework in which fonts may be shared and improved in partnership
+with others.
+
+The OFL allows the licensed fonts to be used, studied, modified and
+redistributed freely as long as they are not sold by themselves. The
+fonts, including any derivative works, can be bundled, embedded,
+redistributed and/or sold with any software provided that any reserved
+names are not used by derivative works. The fonts and derivatives,
+however, cannot be released under any other type of license. The
+requirement for fonts to remain under this license does not apply
+to any document created using the fonts or their derivatives.
+
+DEFINITIONS
+"Font Software" refers to the set of files released by the Copyright
+Holder(s) under this license and clearly marked as such. This may
+include source files, build scripts and documentation.
+
+"Reserved Font Name" refers to any names specified as such after the
+copyright statement(s).
+
+"Original Version" refers to the collection of Font Software components as
+distributed by the Copyright Holder(s).
+
+"Modified Version" refers to any derivative made by adding to, deleting,
+or substituting -- in part or in whole -- any of the components of the
+Original Version, by changing formats or by porting the Font Software to a
+new environment.
+
+"Author" refers to any designer, engineer, programmer, technical
+writer or other person who contributed to the Font Software.
+
+PERMISSION & CONDITIONS
+ Permission is hereby granted, free of charge, to any person obtaining
+a copy of the Font Software, to use, study, copy, merge, embed, modify,
+redistribute, and sell modified and unmodified copies of the Font
+Software, subject to the following conditions:
+
+1) Neither the Font Software nor any of its individual components,
+ in Original or Modified Versions, may be sold by itself.
+
+2) Original or Modified Versions of the Font Software may be bundled,
+ redistributed and/or sold with any software, provided that each copy
+ contains the above copyright notice and this license. These can be
+ included either as stand-alone text files, human-readable headers or
+ in the appropriate machine-readable metadata fields within text or
+ binary files as long as those fields can be easily viewed by the user.
+
+3) No Modified Version of the Font Software may use the Reserved Font
+ Name(s) unless explicit written permission is granted by the corresponding
+ Copyright Holder. This restriction only applies to the primary font
+ name as presented to the users.
+
+4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
+ Software shall not be used to promote, endorse or advertise any
+ Modified Version, except to acknowledge the contribution(s) of the
+ Copyright Holder(s) and the Author(s) or with their explicit written
+ permission.
+
+5) The Font Software, modified or unmodified, in part or in whole,
+ must be distributed entirely under this license, and must not be
+ distributed under any other license. The requirement for fonts to
+ remain under this license does not apply to any document created
+ using the Font Software.
+
+TERMINATION
+ This license becomes null and void if any of the above conditions are
+not met.
+
+DISCLAIMER
+ THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
+COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
+INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
+DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
+OTHER DEALINGS IN THE FONT SOFTWARE.
diff --git a/fop/test/resources/fonts/ttf/NotoSansBengali-Regular.ttf b/fop/test/resources/fonts/ttf/NotoSansBengali-Regular.ttf
new file mode 100644
index 000000000..943338e38
Binary files /dev/null and b/fop/test/resources/fonts/ttf/NotoSansBengali-Regular.ttf differ
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: commits-help@xmlgraphics.apache.org