Heu bon en fait, je sais pas trop ce que j'ai fait, mais ca a marché :]
J'ai recompilé Freetype:
"First you need to download the FreeType source tarball and unpack it in a convenient directory, probably /root since some of what we have to do needs to be done as root anyway. Once it's unpacked you need to edit a file in the FreeType directory: go to freetype-2.x.x/include/freetype/config/ftoption.h and open it in a text editor. Now find the line in ftoption.h which reads
#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER and change it to
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER. Save your change."
Et je crois que ca a suffit, pas besoin de passer en 96dpi, c genial :]
(Sinon pour trouver son displaysize en fonction de la resolution et des dpi jai trouvé aussi
1pouce = 25.4 mm
Donc 1dpi => 1 pixel/25.4mm
Sachant que notre resolution est en pixel et que l'on veut une taille en mm ca donne:
displaysize = resolution * 25.4 / dpi
Pour avoir un 1152*864 en 96dpi ca donne:
displaysize_largeur = 1152 * 25.4 / 96 = 303.6
displaysize_hauteur = 864 * 25.4 / 96 = 227.7
Donc ds votre xorg.conf vous mettez:
displaysize 303.6 227.7
)
[^] # Re: C'est possible!!
Posté par Thomas . En réponse au message Fonts [Question courrante mais toujours sans réponses]. Évalué à 1.
J'ai recompilé Freetype:
"First you need to download the FreeType source tarball and unpack it in a convenient directory, probably /root since some of what we have to do needs to be done as root anyway. Once it's unpacked you need to edit a file in the FreeType directory: go to freetype-2.x.x/include/freetype/config/ftoption.h and open it in a text editor. Now find the line in ftoption.h which reads
#undef TT_CONFIG_OPTION_BYTECODE_INTERPRETER and change it to
#define TT_CONFIG_OPTION_BYTECODE_INTERPRETER. Save your change."
Et je crois que ca a suffit, pas besoin de passer en 96dpi, c genial :]
(Sinon pour trouver son displaysize en fonction de la resolution et des dpi jai trouvé aussi
1pouce = 25.4 mm
Donc 1dpi => 1 pixel/25.4mm
Sachant que notre resolution est en pixel et que l'on veut une taille en mm ca donne:
displaysize = resolution * 25.4 / dpi
Pour avoir un 1152*864 en 96dpi ca donne:
displaysize_largeur = 1152 * 25.4 / 96 = 303.6
displaysize_hauteur = 864 * 25.4 / 96 = 227.7
Donc ds votre xorg.conf vous mettez:
displaysize 303.6 227.7
)