CSzydlowski Posted December 28, 2009 Share Posted December 28, 2009 I have a rule that is calling out to Wingdings 3, for "p" which should be a filled in Triangle. Instead it is returning Wingdings, which is a hollow Square. The font is working when I type it in a text box, so I know the font itself isn't corrupted. I then made a tagged resource and viewed it to ensure I had the font name correct, I did. Any ideas? My snippet of code is as follows. if (Field("Fax") != "") { return "<f name=Wingdings 3>" + "<z newsize=8>" + "p" + "<f name=Arial>" + "<z newsize=9>" + String("Fax: ") + Field("Fax"); } return ""; Link to comment Share on other sites More sharing options...
esmith Posted December 29, 2009 Share Posted December 29, 2009 I won't swear it, but I think you need to put quotes around your font name, especially since it has a space in the name. You'll have to escape the quotes so your revision will look something like: "<f name=\"Wingdings 3\">" plus the rest of your code above. Link to comment Share on other sites More sharing options...
CSzydlowski Posted December 29, 2009 Author Share Posted December 29, 2009 That worked perfectly! Thank you very much for your help. I'm sure this will be helpful for anybody making a call out and the font name having a space in it. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.