<p dir="ltr">I've had some problems with legend text in grass gui. I fixed it by setting the font explicitly (Arial for example). Not sure if it's your case since I was using the gui to create the legend. But worth a try. </p>
<p dir="ltr">Cheers<br>
Daniel</p>
<div class="gmail_quote">On Jul 16, 2015 4:22 AM, "henk witte" <<a href="mailto:henk.witte@groenholland.nl">henk.witte@groenholland.nl</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div>
<p class="MsoNormal">Dear All,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I am running GRASS 7.0<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have been using GRASS GIS for a short time now but am impressed with the possibilities. However, I may have run into a problem. I have created a thematic map (d.vect.thematic) and saved the legend. I then use d.graph to display the legend.
The class colors show up fine, but the accompanying text is not displayed. I have been playing around with d.graph, manually trying to draw text, but I cannot get any text to display.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">The legend file looks like:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">size 8 8<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">symbol basic/box 25 5 10 black 255:255:204<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">move 8 9
<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">text 0.000000 - 0.308333 | 133<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">symbol basic/box 25 5 16 black 217:240:163<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">move 8 15<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">text 0.308333 - 0.616667 | 282<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">symbol basic/box 25 5 22 black 173:221:142<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">move 8 21<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">text 0.616667 - 0.925000 | 114<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">symbol basic/box 25 5 28 black 120:198:121<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">move 8 27<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">text 0.925000 - 1.233333 | 92<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">symbol basic/box 25 5 34 black 49:163:84<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">move 8 33<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">text 1.233333 - 1.541667 | 0<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">symbol basic/box 25 5 40 black 0:104:55<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">move 8 39<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New"">text 1.541667 - 1.850000 | 2<u></u><u></u></span></p>
<p class="MsoNormal" style="text-autospace:none"><span lang="EN-US" style="font-family:"Courier New""><u></u> <u></u></span></p>
<p class="MsoNormal">I have also tried, for instance:<u></u><u></u></p>
<p class="MsoNormal">color black<u></u><u></u></p>
<p class="MsoNormal">size 20<u></u><u></u></p>
<p class="MsoNormal">move 10 50<u></u><u></u></p>
<p class="MsoNormal">text "ThequickbrownfoxThequickbrownfox"<u></u><u></u></p>
<p class="MsoNormal">draw 100 10<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Here I try to draw some big text. I also draw a line (which displays fine), the idea being that the start of the line should change if I make the text longer. However, the line always starts at the same position.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I hope someone knows a solution!<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span>Henk Witte<u></u><u></u></span></p>
<p class="MsoNormal"><span>Groenholland Geo-</span><span lang="NL">energysystems<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="NL">Valschermkade 26<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="NL">1059CD Amsterdam<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="NL"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="NL">T: <a href="tel:%2B31%20%280%2920%206159050" value="+31206159050" target="_blank">+31 (0)20 6159050</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="NL">M: <a href="tel:%2B31%20%280%29628176535" value="+31628176535" target="_blank">+31 (0)628176535</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="NL">E: <a href="mailto:henk.witte@groenholland.nl" target="_blank">henk.witte@groenholland.nl</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="NL"><u></u> <u></u></span></p>
</div>
</div>
<br>_______________________________________________<br>
grass-user mailing list<br>
<a href="mailto:grass-user@lists.osgeo.org">grass-user@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/grass-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/grass-user</a><br></blockquote></div>