Only works on macOS WARN broken in m87 https://bugs.chromium.org/p/skia/issues/detail?id=10897 @return Shaper on macOS, throws UnsupportedOperationException elsewhere
()
| 72 | * @return Shaper on macOS, throws UnsupportedOperationException elsewhere |
| 73 | */ |
| 74 | @NotNull @Contract("-> new") |
| 75 | public static Shaper makeCoreText() { |
| 76 | Stats.onNativeCall(); |
| 77 | long ptr = _nMakeCoreText(); |
| 78 | if (ptr == 0) |
| 79 | throw new UnsupportedOperationException("CoreText not available"); |
| 80 | return new Shaper(ptr); |
| 81 | } |
| 82 | |
| 83 | @NotNull @Contract("-> new") |
| 84 | public static Shaper make() { |
no test coverage detected