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

Fea fix mark mkmk #5

Closed
wants to merge 10 commits into from
Closed

Fea fix mark mkmk #5

wants to merge 10 commits into from

Conversation

cjdunn
Copy link
Contributor

@cjdunn cjdunn commented Mar 30, 2018

I removed the empty mark and mkmk feature code so fontmake would build these features automatically. So far it looks like it's working. If you need these to be built differently please let us know.

@davelab6
Copy link
Member

davelab6 commented Apr 3, 2018

@cjdunn please resolve conflicts :)

m4rc1e added a commit that referenced this pull request Apr 3, 2018
…he variable font in #5 against the official v2.138 unhinted fonts
@m4rc1e
Copy link
Collaborator

m4rc1e commented Apr 3, 2018

@cjdunn Its much better. The mark positioning issues on the 'i' variants has been solved.

This issue still persists though.

before
screen shot 2017-11-23 at 16 54 15

after
screen shot 2017-11-23 at 16 54 06


In order to help you folks. I've added a new branch called mf-regression. This contains a dir called regression-tests. You'll find a script to generate the diff images and a set of diffs for the Thin, Reg and Black weights for a range of platforms/browsers. I will generate diff images for all the styles tomorrow.

This branch shouldn't be merged into the master. It is solely there for testing purposes. Perhaps we can start adding unit/functional tests and merge it into the master once its better.

cc @davelab6

Copy link
Collaborator

@m4rc1e m4rc1e left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Inspect supplied diff images and solve the last remaining gpos issues.

@cjdunn
Copy link
Contributor Author

cjdunn commented Apr 3, 2018

@davelab6 I saw those merge conflicts, but they appear to all be binary files so I was confused. Thought you guys might know why the conflict was happening. I'll fix now.

@m4rc1e Glad to hear the issue with the i accents are resolved. Can you provide a live html proof? It's hard to tell which glyphs you are referencing in those blurry images. Thanks.

@dberlow
Copy link
Contributor

dberlow commented Apr 3, 2018 via email

@cjdunn
Copy link
Contributor Author

cjdunn commented Apr 3, 2018

@davelab6 I overwrote the .ttfs in the master_ttf_interpolatable folder with the old ones from the Master branch so it's not showing a conflict anymore. I still don't know why one set of binaries will "merge" and another set wont, but anyway GitHub says it's OK now.

@m4rc1e
Copy link
Collaborator

m4rc1e commented Apr 3, 2018

@cjdunn
Copy link
Contributor Author

cjdunn commented Apr 3, 2018

Thanks @m4rc1e this is helpful! Will take a look

@davelab6
Copy link
Member

davelab6 commented Apr 4, 2018 via email

@sberlow
Copy link

sberlow commented Apr 4, 2018 via email

-specifically, I duplicated the anchor 'parenthesses.w1' as 'markparenthesses.w1' , and same for .w2 and .w3 to match the '_markparenthesses.w1' anchor in the combining accents.
-I did not remove previous anchor in case these are used for something else, but if not needed the old named version can be removed
@cjdunn
Copy link
Contributor Author

cjdunn commented Apr 4, 2018

@m4rc1e
I tracked down the issue: The anchors in /eng /dcroat and /gbar didn't match those in the related combining marks. They were named 'parenthesses.w1' instead of 'markparenthesses.w1' etc. I duplicated the anchors with the correct names. I didn't delete the old ones in case they were used by something else (these kind of duplicates seem to happen elsewhere too so I followed that example).

The /uni1ABC and related glyphs (uni1ABC.w1 etc) seem to be attaching now:

roboto_marks_rvsd_2018_04_04_p1

Will push my changes now

@cjdunn
Copy link
Contributor Author

cjdunn commented Apr 4, 2018

I removed those TTFs so it wouldn't complain about a merge conflict. But every time I build, those TTFs will get written again. Is anyone opposed to me adding a .gitignore? Or, I'm open to other solutions

@davelab6
Copy link
Member

davelab6 commented Apr 4, 2018

If those TTFs are just build artifacts, it seems reasonable to add them to gitignore

@cjdunn
Copy link
Contributor Author

cjdunn commented Apr 4, 2018

@davelab6 OK, I added a .gitignore for all files in that folder, so hopefully that will avoid future conflicts

@m4rc1e
Copy link
Collaborator

m4rc1e commented Apr 5, 2018

@cjdunn cheers its solved.

I'm still reviewing and I'll be adding peices of #4 as they come up.

@cjdunn
Copy link
Contributor Author

cjdunn commented Apr 5, 2018

@m4rc1e glad to hear the previous issue is solved.

I got a notification about an issue in Roboto-Thin with what looks like uni1AB5 "Combining X-X below" and I can see that it doesn't match the previous Roboto. I can make it match the old one (see version 1 screenshot) but it appears to be mechanically stretched, and the way I had it (see version 2 screenshot) appears to match the Roman. Please confirm how you would like to proceed.

Version 1 (Roboto-Thin looks mechanically stretched)
robot-thin_uni1ab5_v1

Version 2 (Roboto-Thin looks closer to Roboto-Regular)

robot-thin_uni1ab5_v2

Please confirm which version you prefer, thanks.

Will look forward to hearing what else you find after you finish your review, but just wanted to let you know what I found so far.

@davelab6
Copy link
Member

davelab6 commented Apr 5, 2018

Version 2 please

@davelab6
Copy link
Member

davelab6 commented May 8, 2018

Should this PR be closed?

@cjdunn
Copy link
Contributor Author

cjdunn commented May 8, 2018

@davelab6 I have fixed the original issue related to mark and mkmk features. Please merge and close if you are happy with my changes.

@davelab6
Copy link
Member

davelab6 commented May 9, 2018

I delegate the checking to @m4rc1e :) But I believe this is good to merge, so I am doing so

@davelab6
Copy link
Member

davelab6 commented May 9, 2018

Oh hmm, 'rebase and merge' has conflicts, so I am holding off for now.

@m4rc1e what do you reckon? :)

@anthrotype
Copy link
Member

It will always have merge conflicts because binary ttf files are not meant to be checked in a git source code repository. They are the output of the build, not the source files.

@m4rc1e
Copy link
Collaborator

m4rc1e commented May 10, 2018

@davelab6 I'm pretty certain this can be closed. #8 has included these changes. @cjdunn is my assumption correct?

@cjdunn
Copy link
Contributor Author

cjdunn commented May 10, 2018

@m4rc1e Yes, #8 has included these changes. Please feel free to close this if you are happy with #8

@m4rc1e
Copy link
Collaborator

m4rc1e commented May 10, 2018

Thanks closing

@m4rc1e m4rc1e closed this May 10, 2018
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.

6 participants