Skip to content

Commit 763411b

Browse files
author
Albin Kerouanton
authored
Merge pull request #340 from NiR-/faq/font-smoothing
Add an entry about foot smoothing in the faq
2 parents b298f8e + ad503c7 commit 763411b

File tree

1 file changed

+13
-3
lines changed

1 file changed

+13
-3
lines changed

doc/faq.md

+13-3
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,17 @@ at the same time: it processes the first one, send the first response and only t
163163

164164
###### *Q*: How to proceed when experiencing `ContentNotFound`, `ConnectionRefusedError` or timeouts?
165165

166-
*A*: When you experience errors like `ContentNotFound`, `ConnectionRefusedError` or timeouts it is hard to know what is failing. The best you can do to narrow the scope of the bug is to slightly change your HTML code until you found the culprit.
167-
Start by removing whole parts, like document body. If that's now working, re-add it but now remove one half of its content. And repeat again and again until you find which URLs is buggy.
166+
*A*: When you experience errors like `ContentNotFound` or `ConnectionRefusedError`, try to turn off `quiet` option and
167+
look at Snappy logs (you have to set up a logger first).
168168

169-
There's one more (better) way though: fire up tcpdump or wireshark and listen for http requests. You should see which request(s) is failing, and you can even check the content of the request/response.
169+
If you experience timeouts, it might be hard to know what is failing. The best you can do to narrow the scope of the bug
170+
is to slightly change your HTML code until you found the culprit. Start by removing whole parts, like document body to
171+
know if it comes from something in the body or something in the head. If that's now working, re-add it but now remove
172+
one half of its content. And repeat again and again until you find which URLs is buggy.
173+
174+
There's one more (better) way though: fire up tcpdump or wireshark and listen for http requests. You should see which
175+
request(s) is failing, and you can even check the content of the request/response.
176+
177+
###### *Q*: My custom fonts aren't smooth
178+
179+
According to #326, you shall prefer using SVG versions of your custom fonts to have a better font smoothing.

0 commit comments

Comments
 (0)