Skip to content

-[MMCoreTextView initWithFrame:] doesn't initialize fontDescent #927

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

Merged
merged 2 commits into from
Jul 29, 2019

Conversation

jjgod
Copy link
Contributor

@jjgod jjgod commented Jul 28, 2019

Fixes #883. Makes sure fontDescent is properly initialized by -[MMCoreTextView initWithFrame:].

@eirnym
Copy link
Contributor

eirnym commented Jul 28, 2019

LGTM

@jjgod
Copy link
Contributor Author

jjgod commented Jul 29, 2019

PR updated according to comment.

@ychin ychin merged commit 72e6bbf into macvim-dev:master Jul 29, 2019
@ychin
Copy link
Member

ychin commented Jul 29, 2019

Alright looks good. Thanks for the fix.

ychin added a commit to ychin/macvim that referenced this pull request Oct 16, 2019
Recent fix to font initialization (macvim-dev#927) seems to have caused issues
with other fonts. Keep the fix but revert to the old way of font
initialization by manually creating a new one with point size to not use
the other aspects of the font to keep the behavior consistent with
previous behavior

Fix macvim-dev#928
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

Successfully merging this pull request may close these issues.

-[MMCoreTextView initWithFrame:] doesn't initialize fontDescent
3 participants