title: Loading font from URL to Pillow
body: <p>Is there a way to load a font with Pillow library directly from url, preferably into Google Colab? I tried something like</p>
  <p><code>from PIL import Image, ImageDraw, ImageFont</code>    <code>ImageFont.truetype(&quot;https://github.com/googlefonts/roboto/blob/master/src/hinted/Roboto-Regular.ttf?raw=true&quot;, 15)</code></p>
  <p>Yet I get an error of <em>OSError: cannot open resource</em>. I tried with Google Fonts too, but to no avail.
  <a href="https://i.stack.imgur.com/hev2C.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/hev2C.png" alt="enter image description here" /></a></p>