googlefonts / googlefonts/fontmake

Logging to a text file

Open
#647 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
888
Forks
97
Avg merge
4d 52m
Merged PRs (30d)
1

Description

Hi,
Is it possible to save logging's output directly to a txt file?

When I'm using this:

`fontmake -o fontfolder -m my.designspace > myVariableReport.txt`

it creates an empty txt file.

I've also been trying to create a script with FontProject class within RoboFont, where I'm overwriting FontProject's logging by adding the `logging.StreamHandler()` with a path to some txt file. Unfortunately, only one line is being recorded, "Building variable font /path/to/this/font.ttf" nothing else.
It would be super cool to be able to save those reports with fontmake, since it gives a good overview during the test exports and helps to communicate with the rest of the design team.

Best,
R

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.