| ADDFONTPATH_LOCAL() { # Combine lines together to make arguments for the xset command FP=`/usr/bin/awk ' BEGIN { fp="fp+ " } /^[ ]*$/ { fp=" +fp " ; continue } { printf("%s%s", fp, $0) ; fp="," } ' $1` if [ -n "$FP" ]; then eval "$XDIR/xset $FP" fi } |
If the font path which be passed by $1(OWfontpath) do not exist. xset will failed. To set X font path successfully, we should make sure all fonts path in OWfontpath exist. That means, if you remove some fonts path, they should be remove from OWfontpath too. Currently from snv_97 to snv_101, some the fonts path, which do not exist, are still listed in OWfontpath. This cause the issue I describe in header of this paper. I wrote a simple tool in python to check which fontpath have been removed, but still in OWfontpath. To display correctly, they need to be removed from OWfontpath.:
|
###############check_fontpath.py######################## |







