Skip to content

Commit

Permalink
WIP BE support
Browse files Browse the repository at this point in the history
  • Loading branch information
buthed010203 committed Mar 29, 2024
1 parent 9a50087 commit fcb60ac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,7 @@
import arc.graphics.g2d.TextureRegion;
import arc.math.Mathf;
import arc.math.geom.Rect;
import arc.util.ArcRuntimeException;
import arc.util.Buffers;
import arc.util.Disposable;
import arc.util.Log;
import arc.util.*;
import arc.util.io.Streams;

import java.io.IOException;
Expand Down Expand Up @@ -79,7 +76,9 @@ public FreeTypeFontGenerator(Fi fontFile, int faceIndex){
name = fontFile.pathWithoutExtension();
int fileSize = (int)fontFile.length();

long s = Time.nanos();
library = FreeType.initFreeType();
Log.info("TIME TO INIT FREETYPE: @ms", Time.millisSinceNanos(s));

ByteBuffer buffer = null;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
import arc.files.Fi;

/**
* Makes {@link FreeTypeFontGenerator} managable via {@link AssetManager}.
* Makes {@link FreeTypeFontGenerator} manageable via {@link AssetManager}.
* <p>
* Do
* {@code assetManager.setLoader(FreeTypeFontGenerator.class, new FreeTypeFontGeneratorLoader(new InternalFileHandleResolver()))}
Expand Down

0 comments on commit fcb60ac

Please sign in to comment.