Hi!
On 25 July 2016 at 15:22, 'Marc Foley' via Google Fonts Discussions <googlefon...@googlegroups.com> wrote:
>
>
> I'm Marc Foley, a font engineer/developer. I previously worked at Dalton Maag for several years as an engineer.
Marc specialise in Python scripting, non Latin engineering, workflows and testing. He is a BA graduate from Reading University, back in the day, currently developing web apps freelance and automating tedious tasks faced by publishers, accountants, and small businesses who use Office products, and by type designers who use font editors ;)
On this 3 month project, he and Lasse will be working on the following areas:
- Moving Google font families into git repos
- Mastering/converting font sources to .glyphs
- Scripting/Dev work for tooling
- Automating or improving as much as possible the font build/compilation and quality checking process.
Does anyone have any question you may have about this?
They are both in Germany and their timezone is Central European TZ (UTC+01:00) and can join our community calls
> I'm helping to get the Google Font library into .glyphs format and work on a possible automatic build chain, as well as some other niceties. I will be working in collaboration with Lasse Fister. We officially started today so we are still finding our feet in this project.
>
> What I did today:
> -Drafted a brief for what we need to achieve in the next 3 months.
> -Setup my system to use Google's18n tools.
> -Submitted a fontmake issue which has been solved.
> -Built Wei's Work-Sans as a test with Fontmake
Cool
> What I will do tomorrow:
> - Compare fontmake against Georg's Applescript build approach
Perfect
> - Inspect the old Font sources
I am uploading them now to google drive as I only had access to a corporate chromebook today and no access to real UNIX.
--
Cheers
Dave
I wonder if you will be able to use AppleScript to get work sans built with Glyphs via Travis CI - you can install it using homebrew cask.
Georg's AppleScript is here
http://forum.glyphsapp.com/t/how-to-automate-glyphs-export/4800/4
- Started clean up for Francoise One with Lasse. We are working out how we can best batch these in the future. We did the majority of the steps provided in check list of Fonts mini-work... spreadsheet. We left out a few because they seemed to fit the role of a designer better.
- Briefly viewed all issues in google/fonts. I have come up with a list of possible global fixes that we may need to apply or at least have automated tests for. I will add these to a repo tomorrow. It works with a small shell script.
Hi Mark, about the expanded kerning problem,
T/C is redundant. O and C are in the same class. No exception here needed.
After running Remove all kerning exceptions script: 481 pairs.
See output-step4.txt
Boom! 633. My assumption, Glyphs has a two-step algorithm for compressing pairs.
- Is any one using FontBakery in there workflow at the moment?
But not there in the font view: (no classes assigned)
Ideally I want to see them in the font view to be able to kern in Glyphs App.
I tried importing metrics via .AFM from FL sources with no luck.
Is there an elegant solution for this?
Alexei
any questions for the team:Maven Pro has VVT sources. I strongly suggest we drop these and stick to ttfautohint. If you adjust an outline or change the metrics, you will need to manually rehint that glyph using VTT. It also means we will need to write our own VTT hint transferring scripts and build more infrastructure and rehint stuff we change. Also, its Windows only. The downside is, VTT hinting takes a lot of effort so the original author may be sad to see it go.
The stem weights match perfectly but the width is different.
Here's two words. (can't do a paragraph yet, some MM problems)
So which one has been drawn or interpolated?
And what would you guys prefer or think we should do? my heart is still with 3 masters because doing the same thing to 9 fonts is insanity.
Cheers,
Marc
Another big one I am afraid. A lot of these families can have 9 weights. I personally would not want a .glyphs file which has 9 masters in them. I would like to have at most 3 masters. There is a problem in doing this. If you go back to just 3 masters say thin, reg, black. You'll delete any refinements made the bold etc.
• Nunito
• Oswald
• Rokkit
• Raleway (Currently being worked on Sohn)
In order for me to bug fix, I've needed to write tools to help me. For every bug I encounter, I try and write a script for it. This means we can solve the same bugs in different fonts more easily in the future. Unfortunately, they are very rough and not very well documented. The names are also terrible. We have a fantastic opportunity here to produce some excellent QA scripts. These tasks should never ever be done by a human. Glyphsapp is currently lacking in this area and I think we can really give something back.
What I will do tomorrow:
- Document/refine my scripts and workflow better
- Make a screencast tackling a bug fix with repo rebuild
Welcome to the wonderful world of QA ;)
On Aug 19, 2016 11:10 AM, "Alexei Vanyashin" <a...@cyreal.org> wrote:
>
> I would really appreciate it if you could prep Rubik font files, and port to them to glyphs?
Do you still need this Alexei?
I decided on splitting because our gf-docs scripts is checking contestants which involve the folder structure, txt files and custom font parameters of the source files. These constants are only relevant to us. The QA script is specifically for checking .glyphs sources only. I believe this is a nice separation of concerns.
--
You received this message because you are subscribed to the Google Groups "Google Fonts Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googlefonts-discuss+unsub...@googlegroups.com.
To post to this group, send email to googlefonts-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/googlefonts-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/googlefonts-discuss/77e25240-3a50-46ed-bfe9-f0216e8095c8%40googlegroups.com.
Hi Mark,Two comments on the upgrading guide:
Great work on the documentation and great scripts!!! Truly appreciated!!!
1) Not big deal... just a OCD thing.
You recommend having 3 folders "source", "fonts" and "old".I suggest to keep only two folders "source" and "fonts" on the root level, and creating "old" folders inside each one: One having old fonts, another having "old" sources.2) You recommend having separate Glyph sources for "Condensed", "Expanded", etc...
Having all in the same source file makes much more sense, so you can interpolate.You may have master for 2 widths: "Condensed" and "Expanded", and generate fonts for 4 widths: "Condensed", "Narrow", "Normal", "Wide".
You can't do this if the master are in separate files.
For an example, have a look at the Masters and Instances configuration of Libre Clarendon https://github.com/impallari/Libre-Clarendon
2016-08-24 16:34 GMT-03:00 'Marc Foley' via Google Fonts Discussions <googlefonts-discuss@googlegroups.com>:
What I did today:- Prepared Abel & Indie Flower- Refined QA script**What I will do tomorrow:- Prepare Dosis and Josefin SansWhat I will work on Friday:- Finalise upgrading existing repository documentation- Add gf-docs scripts to Google Fonts repo (or at least discuss with Dave about this)**I have decided to split the scripts which test whether our repositories match the gf-docs Checklist and report font errors. The scripts for the gf-docs checklist will be uploaded to the GF repo eventually. The QA font script still has the UI.
I decided on splitting because our gf-docs scripts is checking contestants which involve the folder structure, txt files and custom font parameters of the source files. These constants are only relevant to us. The QA script is specifically for checking .glyphs sources only. I believe this is a nice separation of concerns.
--
You received this message because you are subscribed to the Google Groups "Google Fonts Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googlefonts-discuss+unsubscribe...@googlegroups.com.
To post to this group, send email to googlefonts-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/googlefonts-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/googlefonts-discuss/77e25240-3a50-46ed-bfe9-f0216e8095c8%40googlegroups.com.
--Un Abrazo
Pablo Impallari
Every time I need to write a script to check something, I add it to this
What I will do tomorrow:
- Refine Upgrading existing repositories doc
Unfortunately, I will be flying back to the UK for the weekend tomorrow. I booked this before the hangout for tomorrow was created. I will see if i can call you from Airport departures.
Please can someone discuss the following two issues:
When updating a repository how do we increment the version number?
v1.002 == v2.002 or v1.002 == v2.000
Pablo's query above about the old folder in repositories?
When updating a repository how do we increment the version number?
v1.002 == v2.002 or v1.002 == v2.000
Pablo's query above about the old folder in repositories?
1) Not big deal... just a OCD thing.
You recommend having 3 folders "source", "fonts" and "old".I suggest to keep only two folders "source" and "fonts" on the root level, and creating "old" folders inside each one: One having old fonts, another having "old" sources.
Please can someone discuss the following two issues:
When updating a repository how do we increment the version number?
v1.002 == v2.002 or v1.002 == v2.000
Pablo's query above about the old folder in repositories?
1) Not big deal... just a OCD thing.
You recommend having 3 folders "source", "fonts" and "old".
I suggest to keep only two folders "source" and "fonts" on the root level, and creating "old" folders inside each one: One having old fonts, another having "old" sources.
The old folder, I thought it would be removed once the release is ready. There's no use for it anymore then, the new version is ready, no need to look things up in old files anymore.
The directory used to look like this:
├── Fix_selected_composite_metrics.py
├── QA
│ ├── __init__.pyc
│ ├── check_family.py
│ ├── find_duplicate_glyphs.pyc
│ ├── font_name.pyc
│ ├── fontinfo.pyc
│ ├── glyphs.pyc
│ ├── has_outlines.pyc
│ ├── master_same_metrics.pyc
│ ├── metrics.pyc
│ ├── panose.pyc
│ └── uni00a0_width.pyc
├── README.rst
├── Set_selected_glyphs_all_layers_sidebearings_60.py
├── build-font-from-fonts.py
├── calc_instance_weight.py
├── check_125_rule.py
├── find_duplicate_glyphs.py
├── fix_gf_spec.py
├── fix_uni00a0_width.py
├── gposreport.py
├── kernreport.py
├── mark-glyphs-in-other-fonts.py
├── test_gf_spec.py
├── test_kalapi_metrics.py
├── test_khaled_metrics.py
└── test_missing_glyphs_across_fonts.py
We now have this.
├── Fixes
│ ├── Fix_selected_composite_metrics.py
│ ├── Set_selected_glyphs_all_layers_sidebearings_60.py
│ ├── __init__.py
│ ├── auto_designer_metrics.py
│ ├── build-font-from-fonts.py
│ ├── copy_font_info_from_background_font.py
│ ├── copy_masters_vmetrics_2_instances.py
│ └── fix_gf_spec.py
├── Google\ Fonts
│ ├── README.md
│ ├── check_125_rule.py
│ ├── test_gf_spec.py
│ ├── test_kalapi_metrics.py
│ └── test_khaled_metrics.py
├── QA
│ ├── README.md
│ ├── __init__.pyc
│ ├── checkfamily.py
│ ├── config_file.png
│ ├── find_duplicate_glyphs.pyc
│ ├── font_name.pyc
│ ├── fontinfo.py
│ ├── fontinfo.pyc
│ ├── glyphs.py
│ ├── glyphs.pyc
│ ├── has_outlines.pyc
│ ├── mark-glyphs-in-other-fonts.py
│ ├── master_same_metrics.pyc
│ ├── metrics.py
│ ├── metrics.pyc
│ ├── panose.pyc
│ ├── qa.yml
│ ├── test_missing_glyphs_across_fonts.py
│ ├── ui.png
│ └── uni00a0_width.pyc
├── README.rst
└── Reports
├── gposreport.py
└── kernreport.py
Laing Hai just rebuilt poppins btw
FB check family names, yes
It was fine generating .otf. Anyone had this before?
Whilst the shipped folders look like this:
It would be great to have a script or workflow which would automatically create the shipped folder, from the source folder, when everything passes Font Bakery. By doing this, everything should also feel less disconnected. We could also generate the metadata.pb then as well. This is definitely something I'd like to work on. Manually creating releases is dangerous ;)
Questions for the team?
- Nope, but questions on this post would be nice ;)
It would be great to have a script or workflow which would automatically create the shipped folder, from the source folder, when everything passes Font Bakery.
Hey Alexei,I am fixing these this week. We're nearly there, hold tight.
The new version has 5:
- Glyphsapp generates the null glyph with the name NULL, FontBakery wants .null. I see the MS spec likes .null. Will having NULL lead to any undesired consequences?
- Dave, Felipe and possibly Omer, I was going to bring up the release/mastering process in Friday's meeting. I would still like to talk to you folks. I really don't want this to go off on a tangent. What days are best for you?
**I previously discussed making a script which will do the following:1. Take an upstream repo and create a new ofl/apache folder
2. Generate the METADATA.pb file
4. Insert dummy dsig into fonts
5. Push to github releases if FB reports no errors
Q: Is there a limit to the number of fonts that the tests can be run simultaneously on?
It should be infinite. Just drag n drop more fonts on e.g:python fontbakery-check-ttf.py font1.ttf font2.ttf font3.ttf
This report is for a 2 font family... 138 lines of agony.
By only outputting the errors, the report is much more concise
I'm finding it a huge time saver at the moment.
I can also confirm this glyphsapp -> generate family -> fb == kick ass. Literally ctrl + e in glyphsapp and an up arrow in a fontbakery terminal to generate and test the lot. I feel we can optimise our source repositories further to lesson the duplication of files as well.
--
You received this message because you are subscribed to the Google Groups "Google Fonts Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to googlefonts-discuss+unsub...@googlegroups.com.
To post to this group, send email to googlefonts-discuss@googlegroups.com.
Visit this group at https://groups.google.com/group/googlefonts-discuss.
To view this discussion on the web visit https://groups.google.com/d/msgid/googlefonts-discuss/31da6996-3627-46b9-9142-7adbb548ccfd%40googlegroups.com.
New:
Overall, I'm really impressed by the new colour of this font.
I've also confirmed that Mr Jockin has solved the errors reported on Github.
There are still a few gotchas that I need to sort out.
When I received the fonts, I got this error:
My version of glyphsapp wouldn't generate the fonts until this was solved.
FB is also reporting a lot of nodes which are outside the bounding box. You get this when points are not on extremes. Image below demonstrates this:
I've solved most of the problematic ones. This happens alot on rounded fonts on diagonal glyphs such as w,x,y,z. It is often better to let this error occur than to insert points which are on the extremes.
build-contributors.py
This script will look at the git commit history of the repo and build the CONTRIBUTORS.txt file.
Good nigtht all
Thoughts?
Can I have your thoughts on Inconsolata vertical metrics (last 2 messages) please?
I sent a mail in Dave's email telling the project authors to add the git url and tell us if they are ready for mastering. It is quite difficult to browse individual worklog threads to see what can be mastered. Often, Cyrillic or Vietnamese may still be needed. I've also requested people start merging their forked repos back to the original sources. Our aim should be to have 1 definitive source for each font family. The orphaned repos (Vernon, legacy gf projects) will be added to google/fonts when we're done.
Cheers and have a nice eve all,
Marc
Cabin and Cabin Condensed are different font families.
To implement this in Glyphsapp, you need to use the customParameter['familyName'] attribute on Condensed instances
This feature can be scripted. I will add it to my fix_gf_spec Glyphsapp script.
Good night all
I would like to thank everyone who gave me information about the status of their repos. It is much much clearer now. I have added them to the doc. The picture is finally emerging.
Cheers,
Marc
Pacifico check
Jura
Dancing Script
Oswald
Dosis
Bangers
ROKKIT
Francois One
Lobster
Varela Round Hebrew
Indie Flower
Added test to my QA tool to check for glyphs which have components which differ from the glyhsapp spec
What I will do tomorrow:
Master the final three repos:
Libre Franklin
Bad script (Latin)
Bad Script (Cyrillic)
Master the final three repos: