Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
543 views
in Technique[技术] by (71.8m points)

frontend - Is Desktop Google Chrome spell check affected somehow by OS?

Does Chrome rely on the operating system to provide spell-checking on the desktop or not? Here it states that is does on mobile. But for desktop it's just stated that spell checks are generate locally by default.

I see that it behaves differently on different machine with the same string. On Mac: enter image description here

On one Windows machine: enter image description here

On another Windows machine; enter image description here

question from:https://stackoverflow.com/questions/65848575/is-desktop-google-chrome-spell-check-affected-somehow-by-os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Short answer: yes, since you are using Windows it probably uses the OS.

Longer answer: it depends on a number of factors. First of all if you are using the option for 'enhanced spell check' in Chrome, which uses the a web-service from Google. It also depends on the OS and on the language you've selected.

Chromium documentation states that:

On Windows, the platform spell checker relies on user-installed language packs. It is possible for a user to enable spell checking in Chrome for a language while not having installed the necessary language pack in the Windows settings.

For those situations, the spell checker on Windows will first try to use the platform spell checker. For languages where this is not possible, Hunspell will be used instead.

Source

This can be seen in Chrome itself too, by checking the flags: chrome://flags/#win-use-native-spellchecker


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...