# Caret is misaligned when entering Japanese in some fonts

**URL:** <https://forum.juce.com/t/caret-is-misaligned-when-entering-japanese-in-some-fonts/62564>\
**Category:** General JUCE discussion\
**Created:** [August 21, 2024, 5:53am UTC](https://forum.juce.com/t/caret-is-misaligned-when-entering-japanese-in-some-fonts/62564 "2024-08-21T05:53:52Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ishinomaru](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/ishinomaru/32/21418_2.png) [@ishinomaru](https://forum.juce.com/u/ishinomaru)\
**Post date:** [August 21, 2024, 5:53am UTC](https://forum.juce.com/t/caret-is-misaligned-when-entering-japanese-in-some-fonts/62564/1 "2024-08-21T05:53:52Z")

</div>

Hi, JUCE developers.

After updating to JUCE v8.0.1, a bug was found that when entering Japanese text in some fonts, the Caret position was not displayed correctly on juce::TextEditor.  
This also occurs in DemoRunner’s FontsDemo, so please check it out.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/juce/original/3X/a/6/a618739bdb9013224321bee84e20f2cc5bb611fa.png)  
My environment is Windows 11 and OS language setting is Japanese.

I have tried several fonts and found the following fonts have the problem.

- Arial
- Sans Serif Collection
- Segoe UI

This does not seem to be happening with the following fonts.

- Yu Gothic
- Yu Mincho

Please let me know if you have any other information needed for the survey.

Thanks.
