PageBot
PageBot copied to clipboard
trouble with font size on the example 000_SingleColumn.py
Hey! I am doing the workshop pre-Atypi and was trying some changes on the example layout and when I change the font size to 35, 36 or 37 the preview renders a different typeface:
font = findFont('BungeeOutline-Regular')
style = dict(font=font, fontSize=34, leading=em(1.8), textFill=0.2)
# Make long text to force box overflow
![screen shot 2018-09-10 at 15 04 34](https://user-images.githubusercontent.com/8105496/45299127-e325b600-b50a-11e8-8005-27225091d24a.png)
![screen shot 2018-09-10 at 15 04 43](https://user-images.githubusercontent.com/8105496/45299133-e6b93d00-b50a-11e8-9706-9299807817cb.png)
Hi, thanks for reporting, which script are you trying to run?
we are working with PageBot/Examples/150_Typography/000_SingleColumn.py
the relevant piece of drawbot code here is:
https://github.com/typemytype/drawbot/blob/2e4eb9825d990fe46f48d1c372f062a8b857040b/drawBot/context/baseContext.py#L1677-L1681
but there are several other copies of this code-snippet in that source file.
Have you tried reloading? I reproduced the error but after a couple of failing reloads I now see the correct font every time. Not sure what's causing it, my best guess is a caching issue with DrawBot. I'll check with Petr and Just...
It is a bug in RoboFont that Frederik has to solve or we need a work around. For some reason DrawBot does not install a font twice when it is referred to as path instead of name (that is what we do, to make it Mac-indepenent). It then shows an error. It works when running it in Sublime (outside DrawBot)
P
On Sep 10, 2018, at 3:05 PM, Sol Matas [email protected] wrote:
Hey! I am doing the workshop pre-Atypi and was trying some changes on the example layout and when I change the font size to 35, 36 or 37 the preview renders a different typeface:
font = findFont('BungeeOutline-Regular')
style = dict(font=font, fontSize=34, leading=em(1.8), textFill=0.2)
Make long text to force box overflow
https://user-images.githubusercontent.com/8105496/45299127-e325b600-b50a-11e8-8005-27225091d24a.png https://user-images.githubusercontent.com/8105496/45299133-e6b93d00-b50a-11e8-9706-9299807817cb.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TypeNetwork/PageBot/issues/156, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXBwfAe1kxCjian4JRiwtmxwA23D-j0ks5uZmOdgaJpZM4WhW-U.
Petr van Blokland | twitter+skype @petrvanblokland Intentionally not on FaceBook since 1998 [email protected] | typetr.typenetwork.com mobile +31 6 24 219 502 | buro +31 15 887 1233
designdesign.space upgrade.typenetwork.com bitcount.typenetwork.com
Rietveld 56 2611 LM Delft The Netherlands
Claudia Mens | [email protected] mobile +31 6 41 367 689 | buro +31 15 887 1233
I mean DrawBot, not RoboFont :)
On Sep 10, 2018, at 3:37 PM, Petr van Blokland [email protected] wrote:
It is a bug in RoboFont that Frederik has to solve or we need a work around. For some reason DrawBot does not install a font twice when it is referred to as path instead of name (that is what we do, to make it Mac-indepenent). It then shows an error. It works when running it in Sublime (outside DrawBot)
P
On Sep 10, 2018, at 3:05 PM, Sol Matas <[email protected] mailto:[email protected]> wrote:
Hey! I am doing the workshop pre-Atypi and was trying some changes on the example layout and when I change the font size to 35, 36 or 37 the preview renders a different typeface:
font = findFont('BungeeOutline-Regular')
style = dict(font=font, fontSize=34, leading=em(1.8), textFill=0.2)
Make long text to force box overflow
https://user-images.githubusercontent.com/8105496/45299127-e325b600-b50a-11e8-8005-27225091d24a.png https://user-images.githubusercontent.com/8105496/45299133-e6b93d00-b50a-11e8-9706-9299807817cb.png — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/TypeNetwork/PageBot/issues/156, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXBwfAe1kxCjian4JRiwtmxwA23D-j0ks5uZmOdgaJpZM4WhW-U.
Petr van Blokland | twitter+skype @petrvanblokland Intentionally not on FaceBook since 1998 [email protected] mailto:[email protected] | typetr.typenetwork.com http://typetr.typenetwork.com/ mobile +31 6 24 219 502 | buro +31 15 887 1233
designdesign.space upgrade.typenetwork.com http://upgrade.typenetwork.com/ bitcount.typenetwork.com
Rietveld 56 2611 LM Delft The Netherlands
Claudia Mens | [email protected] mailto:[email protected] mobile +31 6 41 367 689 | buro +31 15 887 1233
Petr van Blokland | twitter+skype @petrvanblokland Intentionally not on FaceBook since 1998 [email protected] | typetr.typenetwork.com mobile +31 6 24 219 502 | buro +31 15 887 1233
designdesign.space upgrade.typenetwork.com bitcount.typenetwork.com
Rietveld 56 2611 LM Delft The Netherlands
Claudia Mens | [email protected] mobile +31 6 41 367 689 | buro +31 15 887 1233
thanks! Is the problem already reported on the drawbot issue tracker? If so, it would be useful to reference it here. Otherwise we should ideally report it there.
Please do. I sent it as mail directly to Frederik and Just before.
On Sep 10, 2018, at 3:42 PM, Felipe Corrêa da Silva Sanches [email protected] wrote:
thanks! Is the problem already reported on the drawbot issue tracker? If so, it would be useful to reference it here. Otherwise we should ideally report it there.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/TypeNetwork/PageBot/issues/156#issuecomment-419916375, or mute the thread https://github.com/notifications/unsubscribe-auth/AAXBwR4fxGch_1ME0ZIiwkydaGWmz0V-ks5uZmxLgaJpZM4WhW-U.