/*
 * SDK Pullenti Unitext, version 4.33, fabruary 2026. Copyright (c) 2013-2026, Pullenti. All rights reserved. 
 * Non-Commercial Freeware and Commercial Software. 
 * This class is generated using the converter Unisharping (www.unisharping.ru) from Pullenti C# project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */

package com.pullenti.unitext.internal.pdf;

public class PdfFontGlyph {

    public double width;

    public int code;

    public char _char;

    public char char2;

    public String undefMnem;

    @Override
    public String toString() {
        return (String.format("%04X", code) + " -> '" + (((int)_char) == 0 ? '?' : _char) + "' (w=" + width + ")");
    }

    public static PdfFontGlyph _new202(double _arg1, int _arg2) {
        PdfFontGlyph res = new PdfFontGlyph();
        res.width = _arg1;
        res.code = _arg2;
        return res;
    }

    public static PdfFontGlyph _new210(int _arg1) {
        PdfFontGlyph res = new PdfFontGlyph();
        res.code = _arg1;
        return res;
    }
    public PdfFontGlyph() {
    }
}
