@return a 32bit value for this typeface, unique for the underlying font data. Never 0
()
| 82 | * @return a 32bit value for this typeface, unique for the underlying font data. Never 0 |
| 83 | */ |
| 84 | public int getUniqueId() { |
| 85 | try { |
| 86 | Stats.onNativeCall(); |
| 87 | return _nGetUniqueId(_ptr); |
| 88 | } finally { |
| 89 | ReferenceUtil.reachabilityFence(this); |
| 90 | } |
| 91 | } |
| 92 | |
| 93 | /** |
| 94 | * @return true if the two typefaces reference the same underlying font, treating null as the default font |