Devicetype ReportTextFile
Hi,
I recently moved from D2010 with RBuilder 12.01 to
XE7 RBuilder 16.
I have a problem using Devicetype := 'ReportTextFile' in XE7. Some fields
are cut off or shifted by usually a character. This data after is exported
it is then parsed and structured.
Obviously this is a big problem and can't go back and adjust each template
especially once made by customers.
So how can we fix this quick?
Than you
I recently moved from D2010 with RBuilder 12.01 to
XE7 RBuilder 16.
I have a problem using Devicetype := 'ReportTextFile' in XE7. Some fields
are cut off or shifted by usually a character. This data after is exported
it is then parsed and structured.
Obviously this is a big problem and can't go back and adjust each template
especially once made by customers.
So how can we fix this quick?
Than you
This discussion has been closed.
Comments
Do you have an example report that exports correctly with RB 12 and
incorrectly with RB 16? If so, please send this report to us in .zip
format and we'll track down what could be causing the problem.
Send the example to support@digital-metaphors.com.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Sample sent.
change in the output.
function GetNearestCourierSize(aFont: TFont) returns 8
while version 16 returns 10
Is it because of the bitmap.canvas vs Printer.canvas?
function GetNearestCourierSize(aFont: TFont) returns 8
while version 16 returns 10
Is it because of the bitmap.canvas vs Printer.canvas?
More findings:
If I force the result of GetNearestCourierSize to 8
and use CalcCharacterGrid from version 12
everything lines up perfectly but changing the Rbuilder source is not an
option.
I thought I would share what I found and wait for your response.
16.01 that solves the text truncations issues. Contact
support@digital-metaphors.com to receive the patch.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com