Skip to content

no Recurse Font Search #5

@Daniel58

Description

@Daniel58

It seems that mapnik do not search the fontdirectory recursely. I try to set this with FreetypeEngine.registerFonts("/usr/share/fonts/", true);

But the recurse boolean will be ignored.

/*
* Class: mapnik_FreetypeEngine
* Method: registerFonts
* Signature: (Ljava/lang/String;Z)Z
*/
JNIEXPORT jboolean JNICALL Java_mapnik_FreetypeEngine_registerFonts
  (JNIEnv *env, jclass c, jstring dirj, jboolean recurse)
{
PREAMBLE;
if (!dirj) return false;
refjavastring dir(env, dirj);

return mapnik::freetype_engine::register_fonts(dir.stringz);

TRAILER(false);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions