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/afp/fonts/FopCharacterSet.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: FopCharacterSet.java 1892774 2021-09-01 06:06:25Z ssteiner $ */ package org.apache.fop.afp.fonts; import java.awt.Rectangle; import org.apache.fop.afp.AFPEventProducer; import org.apache.fop.afp.util.AFPResourceAccessor; import org.apache.fop.fonts.Typeface; /** * A Character set for a normal FOP font */ public class FopCharacterSet extends CharacterSet { /** The character set for this font */ private Typeface charSet; /** * Constructor for the CharacterSetMetric object, the character set is used * to load the font information from the actual AFP font. * @param codePage the code page identifier * @param encoding the encoding of the font * @param name the character set name * @param charSet the fop character set * @param eventProducer for handling AFP related events */ public FopCharacterSet(String codePage, String encoding, String name, Typeface charSet, AFPEventProducer eventProducer) { super(codePage, encoding, CharacterSetType.SINGLE_BYTE, name, (AFPResourceAccessor) null, eventProducer); this.charSet = charSet; } public FopCharacterSet(String codePage, String encoding, String name, Typeface charSet, AFPResourceAccessor accessor, AFPEventProducer eventProducer) { super(codePage, encoding, CharacterSetType.DOUBLE_BYTE, name, accessor, eventProducer); this.charSet = charSet; } /** * Ascender height is the distance from the character baseline to the * top of the character box. A negative ascender height signifies that * all of the graphic character is below the character baseline. For * a character rotation other than 0, ascender height loses its * meaning when the character is lying on its side or is upside down * with respect to normal viewing orientation. For the general case, * Ascender Height is the character's most positive y-axis value. * For bounded character boxes, for a given character having an * ascender, ascender height and baseline offset are equal. * @return the ascender value in millipoints */ public int getAscender() { return charSet.getAscender(1); } /** * Cap height is the average height of the uppercase characters in * a font. This value is specified by the designer of a font and is * usually the height of the uppercase M. * @return the cap height value in millipoints */ public int getCapHeight() { return charSet.getCapHeight(1); } /** * Descender depth is the distance from the character baseline to * the bottom of a character box. A negative descender depth signifies * that all of the graphic character is above the character baseline. * @return the descender value in millipoints */ public int getDescender() { return charSet.getDescender(1); } /** * XHeight refers to the height of the lower case letters above the baseline. * @return the typical height of characters */ public int getXHeight() { return charSet.getXHeight(1); } @Override public int getWidth(char character, int size) { return charSet.getWidth(character, size); } @Override public Rectangle getCharacterBox(char character, int size) { return charSet.getBoundingBox(character, size); }; @Override public int getUnderscoreWidth() { return charSet.getUnderlineThickness(1); } @Override public int getUnderscorePosition() { return charSet.getUnderlinePosition(1); } /** * Map a Unicode character to a code point in the font. * @param c character to map * @return the mapped character */ public char mapChar(char c) { return charSet.mapChar(c); } }
⏎ org/apache/fop/afp/fonts/FopCharacterSet.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, 10447👍, 0💬
Popular Posts:
commons-io-2.6-sources.j aris the source JAR file for Apache Commons IO 2.6, which is a library of u...
The Jakarta-ORO Java classes are a set of text-processing Java classes that provide Perl5 compatible...
Apache Neethi provides general framework for the programmers to use WS Policy. It is compliant with ...
iText is an ideal library for developers looking to enhance web- and other applications with dynamic...
commons-net.jar is the bytecode of Apache Commons Net library, which implements the client side of m...