You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

code-point-mapping.xsl 831B

123456789101112131415161718192021222324
  1. <xsl:stylesheet version="1.0"
  2. xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  3. xmlns:lxslt="http://xml.apache.org/xslt"
  4. xmlns:redirect="org.apache.xalan.xslt.extensions.Redirect"
  5. extension-element-prefixes="redirect">
  6. <xsl:output method="text" />
  7. <xsl:template match="font-mappings">
  8. <!-- <redirect:write file="org/apache/fop/render/pdf/CodePointMapping.java"> -->
  9. package org.apache.fop.render.pdf;
  10. public class CodePointMapping {
  11. public static char[] map;
  12. static {
  13. map = new char[65536];
  14. <xsl:for-each select="map[@unicode!='-1' and @win-ansi!='-1']"> map[<xsl:value-of select="@unicode"/>] = <xsl:value-of select="@win-ansi"/>;
  15. </xsl:for-each>
  16. }
  17. }
  18. <!-- </redirect:write>-->
  19. </xsl:template>
  20. </xsl:stylesheet>