You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2009/07/17 18:02:30 UTC

svn commit: r795126 - in /incubator/pdfbox/trunk: build.xml src/main/resources/Resources/ src/main/resources/Resources/cmap/ src/main/resources/Resources/glyphlist.txt

Author: lehmi
Date: Fri Jul 17 16:02:29 2009
New Revision: 795126

URL: http://svn.apache.org/viewvc?rev=795126&view=rev
Log:
PDFBOX-366: downloading additional adobe cmap files from PDFBOX-494, removing all cmaps and glyplist.txt from svn

Removed:
    incubator/pdfbox/trunk/src/main/resources/Resources/cmap/
    incubator/pdfbox/trunk/src/main/resources/Resources/glyphlist.txt
Modified:
    incubator/pdfbox/trunk/build.xml
    incubator/pdfbox/trunk/src/main/resources/Resources/   (props changed)

Modified: incubator/pdfbox/trunk/build.xml
URL: http://svn.apache.org/viewvc/incubator/pdfbox/trunk/build.xml?rev=795126&r1=795125&r2=795126&view=diff
==============================================================================
--- incubator/pdfbox/trunk/build.xml (original)
+++ incubator/pdfbox/trunk/build.xml Fri Jul 17 16:02:29 2009
@@ -95,6 +95,12 @@
 
     <property name="adobefiles.url" value="${maven.repo}/com/adobe/pdf/pcfi/2009.06.14/pcfi-2009.06.14.jar"/>
     <property name="adobefiles.jar" value="${download.dir}/pcfi-2009.06.14.jar"/>
+    <property name="adobefiles.additional.url" value="${jiraattachment.url}/12413828/additional_cmaps.jar"/>
+    <property name="adobefiles.additional.jar" value="${download.dir}/additional_cmaps.jar"/>
+    <property name="adobefiles.removed.url" value="${jiraattachment.url}/12413648/removed_cmaps.jar"/>
+    <property name="adobefiles.removed.jar" value="${download.dir}/removed_cmaps.jar"/>
+    <property name="adobefiles.glyph.url" value="${jiraattachment.url}/12413646/glyphlist.txt"/>
+    <property name="adobefiles.glyph.txt" value="${dest.dir}/Resources/glyphlist.txt"/>
 
     <property name="file" value=""/>
 
@@ -162,6 +168,18 @@
             <param name="sourcefile" value="${adobefiles.url}"/>
             <param name="destfile" value="${adobefiles.jar}"/>
         </antcall>
+        <antcall target="downloadfile">
+            <param name="sourcefile" value="${adobefiles.additional.url}"/>
+            <param name="destfile" value="${adobefiles.additional.jar}"/>
+        </antcall>
+        <antcall target="downloadfile">
+            <param name="sourcefile" value="${adobefiles.removed.url}"/>
+            <param name="destfile" value="${adobefiles.removed.jar}"/>
+        </antcall>
+        <antcall target="downloadfile">
+            <param name="sourcefile" value="${adobefiles.glyph.url}"/>
+            <param name="destfile" value="${adobefiles.glyph.txt}"/>
+        </antcall>
         <unjar src="${adobefiles.jar}" dest="${dest.dir}/Resources/cmap">
             <patternset>
                 <include name="com/adobe/pdf/pcfi/chinese_t/*"/>
@@ -171,6 +189,23 @@
             </patternset>
             <mapper type="flatten"/>
         </unjar>
+        <unjar src="${adobefiles.additional.jar}" dest="${dest.dir}/Resources/cmap">
+            <patternset>
+                <include name="ac15/CMap/*"/>
+                <include name="ag15/CMap/*"/>
+                <include name="ai0/CMap/*"/>
+                <include name="aj16/CMap/*"/>
+                <include name="aj20/CMap/*"/>
+                <include name="ak12/CMap/*"/>
+                <include name="rksj-cmaps/*"/>
+                <include name="tounicode/*"/>
+                <exclude name="**/*.txt"/>
+            </patternset>
+            <mapper type="flatten"/>
+        </unjar>
+        <unjar src="${adobefiles.removed.jar}" dest="${dest.dir}/Resources/cmap">
+            <mapper type="flatten"/>
+        </unjar>
         <unjar src="${adobefiles.jar}" dest="${dest.dir}/Resources/afm">
             <patternset>
                 <include name="com/adobe/pdf/pcfi/afm/*"/>

Propchange: incubator/pdfbox/trunk/src/main/resources/Resources/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Fri Jul 17 16:02:29 2009
@@ -1 +1,2 @@
 pdfbox.version
+afm