MCPcopy Index your code
hub / github.com/HumbleUI/Skija / getTableData

Method getTableData

shared/java/Typeface.java:247–256  ·  view source on GitHub ↗

Return an immutable copy of the requested font table, or null if that table was not found. @param tag The table tag whose contents are to be copied @return an immutable copy of the table's data, or null

(String tag)

Source from the content-addressed store, hash-verified

245 * @return an immutable copy of the table's data, or null
246 */
247 @Nullable
248 public Data getTableData(String tag) {
249 try {
250 Stats.onNativeCall();
251 long ptr = _nGetTableData(_ptr, FourByteTag.fromString(tag));
252 return ptr == 0 ? null : new Data(ptr);
253 } finally {
254 ReferenceUtil.reachabilityFence(this);
255 }
256 }
257
258 /**
259 * @return the units-per-em value for this typeface, or zero if there is an error

Callers 1

executeMethod · 0.95

Calls 4

onNativeCallMethod · 0.95
_nGetTableDataMethod · 0.95
fromStringMethod · 0.95
reachabilityFenceMethod · 0.95

Tested by 1

executeMethod · 0.76