Added logic to convert “[RHO]” to the rho symbol

This commit is contained in:
John Jenko 2016-06-22 18:07:54 +00:00
parent 3275c1f446
commit 6549842c49

View File

@ -164,7 +164,7 @@ namespace Volian.Print.Library
Phrase p = new Phrase(); Phrase p = new Phrase();
bool underlineChunk = false; bool underlineChunk = false;
instr = instr.Replace("`", "\u00B0"); //degree instr = instr.Replace("`", "\u00B0"); //degree
//instr = instr.Replace("\xC1", "\u03C1"); // rho symbol - is being read in as a line draw character instr = instr.Replace("[RHO]", "\u03C1"); // C2016-018 rho symbol - is being read in as a line draw character, so users need to put "[RHO]" in their text for the rho symbol to print
if (ConvertCaretToDelta) if (ConvertCaretToDelta)
{ {
//char[] ca = instr.ToCharArray(); // for debug //char[] ca = instr.ToCharArray(); // for debug