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/render/pcl/fonts/PCLFontReader.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.render.pcl.fonts;

import java.io.IOException;
import java.util.List;
import java.util.Map;

import org.apache.fop.fonts.CustomFont;
import org.apache.fop.fonts.Typeface;
import org.apache.fop.fonts.truetype.FontFileReader;
import org.apache.fop.fonts.truetype.OpenFont;

public abstract class PCLFontReader {

    protected Typeface typeface;
    protected CustomFont font;

    public PCLFontReader(Typeface font) {
        this.typeface = font;
    }

    public void setFont(CustomFont mbFont) {
        this.font = mbFont;
    }

    /** Header Data **/
    public abstract int getDescriptorSize();
    public abstract int getHeaderFormat();
    public abstract int getFontType();
    public abstract int getStyleMSB();
    public abstract int getBaselinePosition();
    public abstract int getCellWidth();
    public abstract int getCellHeight();
    public abstract int getOrientation();
    public abstract int getSpacing();
    public abstract int getSymbolSet();
    public abstract int getPitch();
    public abstract int getHeight();
    public abstract int getXHeight();
    public abstract int getWidthType();
    public abstract int getStyleLSB();
    public abstract int getStrokeWeight();
    public abstract int getTypefaceLSB();
    public abstract int getTypefaceMSB();
    public abstract int getSerifStyle();
    public abstract int getQuality();
    public abstract int getPlacement();
    public abstract int getUnderlinePosition();
    public abstract int getUnderlineThickness();
    public abstract int getTextHeight();
    public abstract int getTextWidth();
    public abstract int getFirstCode();
    public abstract int getLastCode();
    public abstract int getPitchExtended();
    public abstract int getHeightExtended();
    public abstract int getCapHeight();
    public abstract int getFontNumber();
    public abstract String getFontName();
    public abstract int getScaleFactor() throws IOException;
    public abstract int getMasterUnderlinePosition() throws IOException;
    public abstract int getMasterUnderlineThickness() throws IOException;
    public abstract int getFontScalingTechnology();
    public abstract int getVariety();
    public abstract Map<Integer, Integer> scanMtxCharacters() throws IOException;

    /** Segmented Font Data **/
    public abstract List<PCLFontSegment> getFontSegments(Map<Character, Integer> mappedGlyphs)
            throws IOException;

    /** Character Definitions **/
    public abstract Map<Integer, int[]> getCharacterOffsets() throws IOException;

    public abstract OpenFont getFontFile();
    public abstract FontFileReader getFontFileReader();

    /**
     * Gets the most significant byte from a 16-bit integer
     * @param s The number
     * @return The resulting byte value as an integer
     */
    protected int getMSB(int s) {
        return s >> 8;
    }

    /**
     * Gets the least significant byte from a 16-bit integer
     * @param s The number
     * @return The resulting byte value as an integer
     */
    protected int getLSB(int s) {
        byte b1 = (byte) (s >> 8);
        return s;
    }
}

org/apache/fop/render/pcl/fonts/PCLFontReader.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

What Is fop-2.7-bin.zip

Download and Installing of FOP 2.x

⇑⇑ FAQ for FOP (Formatting Object Processor)

2016-07-07, 34502👍, 0💬