3b1b / 3b1b/manim

Bad text rendering quality when using custom fonts

Aberta
#329 8 comentários 0 reações 0 responsáveis Ver no GitHub
SVG
Linguagem predominante
Python
Estrelas
93.9k
Forks
7.7k
Merge médio
2d 13h
PRs com merge (30d)
4

Descrição

I am so utterly confused by this. Here's my setup: I've customised a couple of the colors (background color). I'm using xelatex (`TEX_USE_CTEX = true`). I've also modified the `ctex_template.tex` to allow for some custom fonts.

Here's the weird part. So you know how manim turns the latex DVI files into SVG? Yeah, I've checked those, and they look hella fine both with the standard latex font (Knuth's *Computer Modern*) and with my fonts.

screenshot 2018-10-15 at 03 06 28screenshot 2018-10-15 at 03 05 26screenshot 2018-10-15 at 03 16 06
The video that I get, however, is another story. With the default font it looks fine, but if I use anything other than the default font, it looks horrible :(

screenshot 2018-10-15 at 03 07 12screenshot 2018-10-15 at 03 04 35screenshot 2018-10-15 at 03 09 57

I can't really wrap my head around this. Do you have any idea what might be causing it?

Guia de contribuição

Nenhum guia de contribuição indexado para este repositório

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.