@@ -1539,7 +1539,7 @@ void TextServer::shaped_text_draw_outline(const RID &p_shaped, const RID &p_canv
1539
1539
if (rtl && ellipsis_pos >= 0 ) {
1540
1540
for (int i = ellipsis_gl_size - 1 ; i >= 0 ; i--) {
1541
1541
for (int j = 0 ; j < ellipsis_glyphs[i].repeat ; j++) {
1542
- font_draw_glyph (ellipsis_glyphs[i].font_rid , p_canvas, ellipsis_glyphs[i].font_size , ofs + Vector2 (ellipsis_glyphs[i].x_off , ellipsis_glyphs[i].y_off ), ellipsis_glyphs[i].index , p_color);
1542
+ font_draw_glyph_outline (ellipsis_glyphs[i].font_rid , p_canvas, ellipsis_glyphs[i].font_size , p_outline_size , ofs + Vector2 (ellipsis_glyphs[i].x_off , ellipsis_glyphs[i].y_off ), ellipsis_glyphs[i].index , p_color);
1543
1543
if (orientation == ORIENTATION_HORIZONTAL) {
1544
1544
ofs.x += ellipsis_glyphs[i].advance ;
1545
1545
} else {
@@ -1602,7 +1602,7 @@ void TextServer::shaped_text_draw_outline(const RID &p_shaped, const RID &p_canv
1602
1602
if (!rtl && ellipsis_pos >= 0 ) {
1603
1603
for (int i = 0 ; i < ellipsis_gl_size; i++) {
1604
1604
for (int j = 0 ; j < ellipsis_glyphs[i].repeat ; j++) {
1605
- font_draw_glyph (ellipsis_glyphs[i].font_rid , p_canvas, ellipsis_glyphs[i].font_size , ofs + Vector2 (ellipsis_glyphs[i].x_off , ellipsis_glyphs[i].y_off ), ellipsis_glyphs[i].index , p_color);
1605
+ font_draw_glyph_outline (ellipsis_glyphs[i].font_rid , p_canvas, ellipsis_glyphs[i].font_size , p_outline_size , ofs + Vector2 (ellipsis_glyphs[i].x_off , ellipsis_glyphs[i].y_off ), ellipsis_glyphs[i].index , p_color);
1606
1606
if (orientation == ORIENTATION_HORIZONTAL) {
1607
1607
ofs.x += ellipsis_glyphs[i].advance ;
1608
1608
} else {
0 commit comments