15 Feb 2024 |
linsui |  Download 图片.png | 13:04:42 |
linsui | svg in my browser | 13:04:47 |
linsui | So obviously you have a different font in your browser. | 13:05:11 |
linsui | Please not that the English is also different. | 13:05:37 |
rando | In reply to @rdfg77:kde.org svg in my browser I picked both png and svg from the repo | 13:07:26 |
Licaon_Kter[xmpp] | rando: yes and SVG is not bitmap...the text is rendered locally by your app... | 13:07:57 |
Licaon_Kter[xmpp] | If we both have different fonts in the system covering the same charset, the SVGs will look different | 13:08:21 |
Licaon_Kter[xmpp] | The pngs are pictures so they look the same everywhere | 13:08:45 |
rando | Redacted or Malformed Event | 13:08:52 |
rando | ok | 13:09:11 |
rando | then I suggest changing the png version and using some other font | 13:09:35 |
rando | I think it is made with DejaVu fonts | 13:11:21 |
rando | DejaVu Sans | 13:11:36 |
rando | can I change it in a photo editor and open a pr/issue? | 13:12:48 |
linsui | I thought we should render a svg image by convert the text to path somehow. | 13:13:50 |
linsui | So that the svg looks the same everywhere. | 13:14:18 |
rando | hmm | 13:15:57 |
rando | it is possible? | 13:16:19 |
rando | if so, we can covert SVGs to png so both look the same? | 13:17:10 |
rando | convert* | 13:17:22 |
linsui | Yes, just one click in inkscape. | 13:18:49 |
linsui | I don't know how to do that from command line. | 13:19:04 |
linsui | We should first convert the svg, then render it to png. | 13:19:49 |
rando | Sounds great. | 13:22:05 |
linsui | Oh, in fact this script https://gitlab.com/fdroid/artwork/-/blob/master/badge/3-export-png.sh has done that. | 13:23:00 |
linsui | But it doesn't save the svg. It convert the svg to png directly. | 13:23:54 |
rando | ah 🫠 | 13:24:09 |
rando | the problem is that the Arabic font for Linux machines sucks, looks the PNG used DejaVu Sans which sucks for arabic | 13:28:16 |
rando | We can set the SVG font to look the same on all OSs? if so, we can convert it to PNG. | 13:30:27 |
rando | and the problem is solved? | 13:31:04 |