We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 263ec22 commit a66b3f6Copy full SHA for a66b3f6
src/display/text_runs.rs
@@ -294,9 +294,6 @@ impl TextDisplay {
294
}
295
296
if is_real(script) {
297
- if first_real.is_none() {
298
- first_real = Some(c);
299
- }
300
if script != input.script {
301
require_break |= is_real(input.script);
302
@@ -342,6 +339,12 @@ impl TextDisplay {
342
339
343
340
344
341
+ if is_real(script) {
+ if first_real.is_none() {
+ first_real = Some(c);
345
+ }
346
347
+
348
if let Some(token) = next_token.as_ref()
349
&& to_usize(token.start) == index
350
{
0 commit comments