Unverified Commit 3d70417e authored by Artem Kudryavtsev's avatar Artem Kudryavtsev Committed by GitHub

Add setBitmapsEmbedded (#653)

parent 5d57f3de
...@@ -118,6 +118,18 @@ class Font : Managed { ...@@ -118,6 +118,18 @@ class Font : Managed {
} }
} }
/**
* If true, requests, but does not require, to use bitmaps in fonts instead of outlines.
*/
fun setBitmapsEmbedded(value: Boolean) {
try {
Stats.onNativeCall()
_nSetBitmapsEmbedded(_ptr, value)
} finally {
reachabilityBarrier(this)
}
}
/** /**
* @return true if glyphs may be drawn at sub-pixel offsets * @return true if glyphs may be drawn at sub-pixel offsets
*/ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment