Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple CoreText two engines #50

Open
MayuraVerma opened this issue Sep 5, 2018 · 5 comments
Open

Apple CoreText two engines #50

MayuraVerma opened this issue Sep 5, 2018 · 5 comments

Comments

@MayuraVerma
Copy link
Contributor

@brawer Hello Sascha,

There seems two modes or type of Text engine in MacOS and iOS.

  1. Notes app, Twitter -new tweet window, youtube comment window
  2. Pages, emails, twitter- view tweet, youtube-comment view

First type has a lot of issues. How to test them separately?

Why is the difference?

I can give some sample text and show the difference, if it helps understanding this better.

@MayuraVerma
Copy link
Contributor Author

@brawer
is it because of difference between NSTextView and NSTextField?

@MayuraVerma
Copy link
Contributor Author

Hello @brawer

Could you please help create a test for this?

@brawer
Copy link
Collaborator

brawer commented Mar 4, 2019

I have no idea if/why CoreText would behave differently in different apps. If you can reproduce, consider filing a bug with Apple. If you tell me which specific CoreText APIs to call, I can change the test suite, or (preferred by me) just send a pull request via GitHub.

@MayuraVerma
Copy link
Contributor Author

This happens in notes app and browser while typing.

when text is not in edit mode in browser, text is rendering correctly.
My guess, its something to do with nstextfield vs nstextview

Could we reproduce this issue in this test?

here are text
ಅಕ್ಟ್ಬೋಬರ್
ಅಕ್ಟ್ರೋಬರ್‌
ಅರ್ಕ್ಟ್ರೋಬರ್
ಅರ್ಕ್ಟೋಬರ್

also
ಕನ್ನಡೊ
if it is at the beginning of the notes and no other text.

image1
image2

@brawer
Copy link
Collaborator

brawer commented Mar 5, 2019

Which CoreText API would need to be called exactly? (For the test suite, we need positioned glyph vectors which can be converted to outlines). The current code calls the regular CoreText and CoreGraphics APIs. If you know of another API that should be called, feel free to send a patch via GitHub.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants