mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-10 19:39:39 +01:00
fix direction of vertical glyph offsets (regression introduced by backporting JDK 9 changes for JRE-33)
port commit 9b98eaf0 from JBR 9 port from JBR 11 to JBR 15 (cherry picked from commitcbf4d301ee) cherry picked from commite6752600a5
This commit is contained in:
committed by
alexey.ushakov@jetbrains.com
parent
1cc7f266eb
commit
fefb093db4
@@ -142,7 +142,7 @@ jboolean storeGVData(JNIEnv* env,
|
||||
positions[storei*2] = startX + x + glyphPos[i].x_offset * scale;
|
||||
positions[(storei*2)+1] = startY + y - glyphPos[i].y_offset * scale;
|
||||
x += glyphPos[i].x_advance * scale;
|
||||
y += glyphPos[i].y_advance * scale;
|
||||
y -= glyphPos[i].y_advance * scale;
|
||||
storei++;
|
||||
}
|
||||
storeadv = initialCount + glyphCount;
|
||||
|
||||
Reference in New Issue
Block a user