Skip to content

Commit 88d1680

Browse files
committed
Remove analogy and link guide again
1 parent 91b8957 commit 88d1680

File tree

1 file changed

+2
-9
lines changed

1 file changed

+2
-9
lines changed

content/posts/GSoC_2021_MidTerm/index.md

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,8 @@ Something which one of my mentors said which _really_ stuck with me:
4040
> Matplotlib isn't a font library, and shouldn't try to be one.
4141
4242
It's really easy to fall into the trap of trying to do _everything_ within your own project, which ends up rather _hurting_ itself.
43-
<hr>
44-
45-
To give an analogy, <ins>Google Docs</ins> try to do _a lot_ of things with its platform, from basic text editing to full-fledged project management.
46-
47-
Compared with <ins>Notion</ins>, whose whole _niche_ is to provide a platform for project management (among other things), **some people tend to choose the latter for their specific needs.**
48-
49-
<hr>
5043

51-
Since this analogy holds true even for Matplotlib, it uses external dependencies like [FreeType](https://www.freetype.org/), [ttconv](https://github.com/sandflow/ttconv), and newly proposed [fontTools](https://github.com/fonttools/fonttools) to handle font subsetting, embedding, rendering, and related stuff.
44+
Since this holds true even for Matplotlib, it uses external dependencies like [FreeType](https://www.freetype.org/), [ttconv](https://github.com/sandflow/ttconv), and newly proposed [fontTools](https://github.com/fonttools/fonttools) to handle font subsetting, embedding, rendering, and related stuff.
5245

5346
PS: If that font stuff didn't make sense, I would recommend going through a friendly tutorial I wrote, which is all about [Matplotlib and Fonts](https://matplotlib.org/stable/users/fonts.html)!
5447
## Unexpected Complications
@@ -57,7 +50,7 @@ Matplotlib uses an external dependency `ttconv` which was initially forked into
5750
5851
Over the time, there were a lot of issues with it which were either hard to fix, or didn't attract a lot of attention. (See the above paragraph for a valid reason)
5952

60-
One major utility which is still used is `convert_ttf_to_ps`, which takes a _font path_ as input and converts it into a Type 3 or Type 42 PostScript font, which can be embedded within PS/EPS output documents. The guide I wrote (mentioned just above the recent heading) contains decent descriptions, the differences between these type of fonts, etc.
53+
One major utility which is still used is `convert_ttf_to_ps`, which takes a _font path_ as input and converts it into a Type 3 or Type 42 PostScript font, which can be embedded within PS/EPS output documents. The guide I wrote ([link](https://matplotlib.org/stable/users/fonts.html)) contains decent descriptions, the differences between these type of fonts, etc.
6154

6255
#### So we need to convert that _font path_ input to a _font buffer_ input.
6356
Why do we need to? Type 42 subsetting isn't really supported by ttconv, so we use a new dependency called fontTools, whose 'full-time job' is to subset Type 42 fonts for us (among other things).

0 commit comments

Comments
 (0)