HTML to PDF / DOCX / RTF Java converter library Forums PD4ML Forums Technical questions / Troubleshooting Where is javadoc for FontCache.generateFontPropertiesFile?

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #36114

    Hi,

    where can I find the javadoc for the overloads of method FontCache.generateFontPropertiesFile()?

    Thanks

    #36115

    Why do you need to overload the static method?

    #36116

    I don’t want to overload, I search the description of the params:

    generateFontPropertiesFile(String, BufferedOutputStream, boolean)
    generateFontPropertiesFile(String, BufferedOutputStream, boolean, String, short)
    generateFontPropertiesFile(String, String)
    generateFontPropertiesFile(String, String, String, short)
    generateFontPropertiesFile(String, String, short)

    #36117

    Hmm… For some reason the method is excluded from Javadoc.

    Here is the signature of the main method:

    /** * scan font directory, generate pd4fonts.properties and output it to the given OutputStream. * @param fontsPath font directory path * @param bos pd4fonts.properties data output stream * @param addFontDirReference allows to add the original fonts dir path to pd4fonts.properties. It is useful for a case the generated .properties file * cannot be saved to the original fonts dir (i.e. system fonts dir). * @param filter if not null, defines comma-separated list of allowed font name patterns. For example "arial,cour,time" * @param logLevel log output control bit mask * @throws IOException */ public static void generateFontPropertiesFile(String fontDirPath, BufferedOutputStream bos, boolean addFontDirReference, String filter, short logLevel) throws IOException {

    #36118

    Thank you very much.

    #36119

    FYI: PD4ML GUI tool

    PD4ML v4 Programmers Manual

    offers a new feature called “[fonts tool]” (you can find it in the status bar). Can help you with pd4fonts.properties generation

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.