[Paraview] Linux, ParaView and poor fonts

Scott, W Alan wascott at sandia.gov
Tue May 30 21:22:18 EDT 2017


ParaView 5.*, our current version of ParaView, now uses system fonts on Linux.  This is how all applications are moving, and ParaView (and Emacs) is on top of the curve.  Unfortunately, if your font files aren't setup correctly, these fonts won't anti-alias, and your fonts will be hard to read and look stark and small.  This seems to be random, and I haven't been able to figure out why  anti-aliasing is on or off.  Anyway, here is how to check and fix it.

To check if you are anti-antialiasing, open ParaView, and zoom your screen %400.  On Gnome, this can be done by Applications/  Accessories/ KMag.  Zoom in until zoom is 1:4.

If you are not anti-aliasing, the title bar will look like this, and you should fix your account as described below:
[cid:image001.png at 01D2D979.3B7836D0]

If you are anti-aliasing, the title bar will look like this, and you are good:
[cid:image002.png at 01D2D979.3B7836D0]


If you are not anti-aliasing, you can add a ~/.fonts.conf file to your home directory with the following commands in the body of the file.  Note that .fonts.conf files have been deprecated, but it is the only way I could find to get fonts to alias.

<?xml version='1.0'?>
<!DOCTYPE fontconfig SYSTEM 'fonts.dtd'>
<fontconfig>
<match target="font" >
<edit mode="assign" name="rgba" >
<const>none</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hinting" >
<bool>true</bool>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="hintstyle" >
<const>hintslight</const>
</edit>
</match>
<match target="font" >
<edit mode="assign" name="antialias" >
<bool>true</bool>
</edit>
</match>
</fontconfig>

Alan


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170531/908ecc9f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 2515 bytes
Desc: image001.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170531/908ecc9f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 8469 bytes
Desc: image002.png
URL: <http://public.kitware.com/pipermail/paraview/attachments/20170531/908ecc9f/attachment-0001.png>


More information about the ParaView mailing list