massiws,
in reportBeforeChange.txt the first line is not supposed to be there (you must have added it.)
But remove that and it works..
Steven
Welcome to the nuBuilder forums!
Please register and login to view forums and other content only available to registered users.
Please register and login to view forums and other content only available to registered users.
Can't change font in report
-
- Posts: 503
- Joined: Thu May 24, 2012 2:08 am
- Location: Milan, Italy
- Contact:
Re: Can't change font in report
Steven,
thanks for answering.
This is the end of reportBeforeChange.txt file (the class before changing the fonts): as you see, the file is 1256 lines, with correct close brackets.
This is the end of reportAfterChange.txt file (the Class generated after changing the fonts in ReportBuilder: the file is cut off at line 1146 with "LS?" characters: missing 110 lines of code!
The problem occours when setting a text-field font to a "dings" fonts.
If they aren't widely used, maybe, a simple solution could look like remove "dings" fonts from dropdown list in Report Builder: so someone curious like me don't make disaster!
Sorry for my poor English: hope I better explained the problem!
Max
thanks for answering.
Yes, I added the "<php" tag to highlight the syntax before send you the zipped files, sorry if this make you confused, but the generated class don't contain it.admin wrote:in reportBeforeChange.txt the first line is not supposed to be there (you must have added it.)
The problem isn't the reportBeforeChange.txt (it's working fine with Arial or Courier fonts), but in the reportAfterChange.txt.admin wrote:But remove that and it works..
This is the end of reportBeforeChange.txt file (the class before changing the fonts): as you see, the file is 1256 lines, with correct close brackets.
This is the end of reportAfterChange.txt file (the Class generated after changing the fonts in ReportBuilder: the file is cut off at line 1146 with "LS?" characters: missing 110 lines of code!
The problem occours when setting a text-field font to a "dings" fonts.
If they aren't widely used, maybe, a simple solution could look like remove "dings" fonts from dropdown list in Report Builder: so someone curious like me don't make disaster!
Sorry for my poor English: hope I better explained the problem!
Max
-
- Site Admin
- Posts: 2781
- Joined: Mon Jun 15, 2009 2:23 am
- nuBuilder Version: 4.5
- Been thanked: 1 time
Re: Can't change font in report
Max,
I understood what the problem was (that the file was being cut off) but didn't realise it was because of dings.
I think your suggestion of removing them is a good idea.
Steven
I understood what the problem was (that the file was being cut off) but didn't realise it was because of dings.
I think your suggestion of removing them is a good idea.
Steven