Categories:
Audio (13)
Biotech (29)
Bytecode (36)
Database (77)
Framework (7)
Game (7)
General (507)
Graphics (53)
I/O (35)
IDE (2)
JAR Tools (101)
JavaBeans (21)
JDBC (121)
JDK (426)
JSP (20)
Logging (108)
Mail (58)
Messaging (8)
Network (84)
PDF (97)
Report (7)
Scripting (84)
Security (32)
Server (121)
Servlet (26)
SOAP (24)
Testing (54)
Web (15)
XML (309)
Collections:
Other Resources:
What Is fop.jar in fop-2.7-bin.zip
What Is fop.jar? I got it from the fop-2.7-bin.zip.
✍: FYIcenter.com
fop.jar in fop-2.7-bin.zip is the JAR file for FOP 2.7, which is a print formatter driven by XSL formatting objects (XSL-FO). You can obtain fop.jar from the build folder of the fop-2.7-bin.zip file.
Below is the information about the fop.jar (2.2) file:
JAR File Size and Download Location:
JAR name: fop.jar, fop-2.7.jar Target JDK version: 1.7 File name: fop.jar File size: 4442817 bytes Release date: 20-Jan-2022 Download: Apache FOP Website
Java source code files for fop.jar:
⏎ org/apache/fop/fonts/type1/CharMetricsHandler.java
/* * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed with * this work for additional information regarding copyright ownership. * The ASF licenses this file to You under the Apache License, Version 2.0 * (the "License"); you may not use this file except in compliance with * the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /* $Id$ */ package org.apache.fop.fonts.type1; import java.io.IOException; import java.util.Map; import java.util.Stack; import java.util.regex.Matcher; import java.util.regex.Pattern; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; import org.apache.xmlgraphics.fonts.Glyphs; import org.apache.fop.fonts.NamedCharacter; import org.apache.fop.fonts.type1.AFMParser.ValueHandler; /** * A handler that parses the various types of character metrics in an AFM file. */ abstract class CharMetricsHandler { private static final Log LOG = LogFactory.getLog(CharMetricsHandler.class); private static final String WHITE_SPACE = "\\s*"; private static final String OPERATOR = "([A-Z0-9]{1,3})"; private static final String OPERANDS = "(.*)"; private static final Pattern METRICS_REGEX = Pattern.compile( WHITE_SPACE + OPERATOR + WHITE_SPACE + OPERANDS + WHITE_SPACE); private static final Pattern SPLIT_REGEX = Pattern.compile(WHITE_SPACE + ";" + WHITE_SPACE); private CharMetricsHandler() { } abstract AFMCharMetrics parse(String line, Stack<Object> stack, String afmFileName) throws IOException; static CharMetricsHandler getHandler(Map<String, ValueHandler> valueParsers, String line) { if (line != null && line.contains(AdobeStandardEncoding.NAME)) { return new AdobeStandardCharMetricsHandler(valueParsers); } else { return new DefaultCharMetricsHandler(valueParsers); } } private static final class DefaultCharMetricsHandler extends CharMetricsHandler { private final Map<String, ValueHandler> valueParsers; private DefaultCharMetricsHandler(Map<String, ValueHandler> valueParsers) { this.valueParsers = valueParsers; } AFMCharMetrics parse(String line, Stack<Object> stack, String afmFileName) throws IOException { AFMCharMetrics chm = new AFMCharMetrics(); stack.push(chm); String[] metrics = SPLIT_REGEX.split(line); for (String metric : metrics) { Matcher matcher = METRICS_REGEX.matcher(metric); if (matcher.matches()) { String operator = matcher.group(1); String operands = matcher.group(2); ValueHandler handler = valueParsers.get(operator); if (handler != null) { handler.parse(operands, 0, stack); } } } stack.pop(); return chm; } } private static final class AdobeStandardCharMetricsHandler extends CharMetricsHandler { private final DefaultCharMetricsHandler defaultHandler; private AdobeStandardCharMetricsHandler(Map<String, ValueHandler> valueParsers) { defaultHandler = new DefaultCharMetricsHandler(valueParsers); } AFMCharMetrics parse(String line, Stack<Object> stack, String afmFileName) throws IOException { AFMCharMetrics chm = defaultHandler.parse(line, stack, afmFileName); NamedCharacter namedChar = chm.getCharacter(); if (namedChar != null) { String charName = namedChar.getName(); int codePoint = AdobeStandardEncoding.getAdobeCodePoint(charName); if (chm.getCharCode() != codePoint && !Glyphs.NOTDEF.equals(charName)) { LOG.info(afmFileName + ": named character '" + charName + "'" + " has an incorrect code point: " + chm.getCharCode() + ". Changed to " + codePoint); chm.setCharCode(codePoint); } } return chm; } } }
⏎ org/apache/fop/fonts/type1/CharMetricsHandler.java
Or download all of them as a single archive file:
File name: fop-2.7-src.zip File size: 3401312 bytes Release date: 2022-01-20 Download
⇒ "fop" Command in fop-2.7-bin.zip
2016-07-07, 36757👍, 0💬
Popular Posts:
What Is ojdbc5.jar for Oracle 11g R1? ojdbc5.jar for Oracle 11g R1 is the JAR files of ojdbc.jar, JD...
JDK 11 jdk.internal.opt.jmod is the JMOD file for JDK 11 Internal Opt module. JDK 11 Internal Opt mo...
JAX-WS is an API for building web services and clients. It is the next generation Web Services API r...
What is the sax\Counter.java provided in the Apache Xerces package? I have Apache Xerces 2.11.0 inst...
commons-net-1.4.1.jar is the JAR file for Apache Commons Net 1.4.1, which implements the client side...