-[MMCoreTextView initWithFrame:] doesn't initialize fontDescent by jjgod · Pull Request #927 · macvim-dev/macvim

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@jjgod

Copy link Copy Markdown

Contributor

@jjgod jjgod commented

Jul 28, 2019

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

eirnym reacted with thumbs up emoji

@eirnym

Copy link Copy Markdown

Contributor

eirnym commented

Jul 28, 2019

LGTM

@jjgod

Copy link Copy Markdown

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 Copy Markdown

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

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

-[MMCoreTextView initWithFrame:] doesn't initialize fontDescent

3 participants

@jjgod @eirnym @ychin