1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-07-11 22:21:05 +03:00

Added scaling font override fix

A_D 2021-04-02 17:53:24 +02:00
parent 47ac2de278
commit 4872b70a02

@ -61,6 +61,7 @@ Then to add it back :GenTocRedCarpet
* [Error: Unable to get token](#error-unable-to-get-token)
* [I'm using BitDefender and things don't work](#i-39-m-using-bitdefender-and-things-don-39-t-work)
* [Miscellaneous](#miscellaneous)
* [Scaling doesnt work on linux](#scaling-broken-linux)
* [Program doesn't send data to EDSM and others at startup](#program-doesn-39-t-send-data-to-edsm-and-others-at-startup)
* [Doesn't auto-update and/or persistently gives “Server is lagging” error](#doesn-39-t-auto-update-and-or-persistently-gives-“server-is-lagging”-error)
* [I forgot to run the app - is there a way to process the missing data?](#i-forgot-to-run-the-app-is-there-a-way-to-process-the-missing-data)
@ -500,6 +501,20 @@ To fix this you need to add it as an exception in BitDefender by going to :
<!-- vim-markdown-toc -->
# Miscellaneous
<a name='scaling-broken-linux'></a>
## Scaling does not work on linux
On some linux distributions, the default font is not a font that can be scaled by our UI.
To fix scaling, edit `~/.config/EDMarketConnector/EDMarketConnector.py` and add the following:
```ini
font = DejaVu Sans
```
You can select any font (Though in testing DejaVu Sans works well), and can change the default
font size with `font_size`.
<!-- vim-markdown-toc Redcarpet -->
<a name='program-doesn-39-t-send-data-to-edsm-and-others-at-startup'></a>