Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ public record FontSubsetResult(byte[] pdf, int fontsSubset) {}

/** True when this native build can subset already-embedded fonts. */
public static boolean isSubsetFontsSupported() {
return SUBSET_FONTS_HANDLE != null;
return SUBSET_FONTS_HANDLE != null && isFontReplacementSupported();
}

/**
Expand Down
Loading
Loading