Skip to content

Commit 74d49bd

Browse files
committed
try macos-12
1 parent b980c84 commit 74d49bd

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ on:
2626

2727
jobs:
2828
build_macos:
29-
runs-on: macos-11
29+
runs-on: macos-12
3030
steps:
3131
- uses: actions/checkout@v3
3232
with:

shared/java/FontMgr.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,18 @@ public Typeface matchFamiliesStyleCharacter(String[] families, FontStyle style,
123123
}
124124

125125
/**
126-
* Create a typeface for the specified data and TTC index (pass 0 for none)
127-
* or null if the data is not recognized. The caller must call {@link #close()} on
128-
* the returned object if it is not null.
126+
* Create a typeface for the specified data or null if the data is not recognized.
127+
* The caller must call {@link #close()} on the returned object if it is not null.
129128
*/
130129
public Typeface makeFromData(Data data) {
131130
return makeFromData(data, 0);
132131
}
133132

133+
/**
134+
* Create a typeface for the specified data and TTC index (pass 0 for none)
135+
* or null if the data is not recognized. The caller must call {@link #close()} on
136+
* the returned object if it is not null.
137+
*/
134138
public Typeface makeFromData(Data data, int ttcIndex) {
135139
try {
136140
Stats.onNativeCall();

0 commit comments

Comments
 (0)