Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 0677ce27 authored by Diego Perez's avatar Diego Perez
Browse files

Fix fonts following 455f1bfc

Test: Fixes broken tests
Change-Id: I62d001c6d0ed84fe1d1d9865b1027be0e1cad8b4
(cherry picked from commit de5a95d4)
parent 2692dafa
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -233,7 +233,8 @@ public final class Typeface_Delegate {
            Map<String, ByteBuffer> bufferForPath) {
        FontFamily fontFamily = new FontFamily(family.getLanguage(), family.getVariant());
        for (FontConfig.Font font : family.getFonts()) {
            FontFamily_Delegate.addFont(fontFamily.mBuilderPtr, font.getFontName(),
            String fullPathName = "/system/fonts/" + font.getFontName();
            FontFamily_Delegate.addFont(fontFamily.mBuilderPtr, fullPathName,
                    font.getWeight(), font.isItalic());
        }
        fontFamily.freeze();