#7 Offset of each character

closed-wont-fix
nobody
Renderer (3)
5
2010-12-06
2010-09-15
Patr1ot
No

Offset of each character,
more characters in the string the more the offset
field size remains the same, so the last characters are cut.
Different behavior on preview, PrintToPDF and PrintToPDF From Preview

Discussion

1 2 > >> (Page 1 of 2)
  • Patr1ot
    Patr1ot
    2010-09-15

    scrinshots

     
    Attachments
  • Patr1ot
    Patr1ot
    2010-09-15

    Look Attached File.

     
  • Chris Ryan
    Chris Ryan
    2010-09-16

    I am not sure there is a problem here. When rendering fonts the output device has an effect on the sizing and spacing. Rendering to the screen and PDF will use slightly different options that can result in variations like you are seeing. In addition these will vary from different OS's and even different computers with the same OS if they have different fonts installed. If you are placing labels you should leave some amount of extra space for these rendering discrepancies.

     
  • Patr1ot
    Patr1ot
    2010-09-17

    second screenshot

     
    Attachments
  • Patr1ot
    Patr1ot
    2010-09-17

    About the different OS I know. Why can't use the same options, so on one system are displayed correctly?
    Because it's uncomfortably. Look second attached file, be offset to display correctly.

     
  • Chris Ryan
    Chris Ryan
    2010-09-17

    I don't have a very good answer for that. A lot of it has to do with the Qt. When we print to screen/printer/pdf we tell Qt which device to use and it is making some of those decisions for us. I know for example that PDF always uses a 72dpi scale while rendering to a screen or printer will use the dpi setting appropriate for that device. The reason preview to pdf gives you slightly different results is probably because the preview pre renders using font metrics for the screen and then when you print it uses that already generated document so some of the attributes have already been set but the physical representation of the fonts or lines could vary.

    Regarding the lines showing as different weights have you tried to set the line thickness to 1. I have found that lines of thickness 0 are "infinitely thin" so will draw at different thicknesses on different output devices. setting the value to 1 should give a more consistent result. Not sure if you are doing that already or not.

     
  • Patr1ot
    Patr1ot
    2010-09-21

    I have to put a square near each word, but renderer shifts each character. how can this be fixed?

     
  • Gil
    Gil
    2010-09-21

    patr1ot,

    Please attach your report definition .xml file.
    cryan and I can think of several possible explanations for what you see. Your report definition would help us give you a more precise answer.

     
  • Patr1ot
    Patr1ot
    2010-09-22

    report file

     
    Attachments
  • Patr1ot
    Patr1ot
    2010-09-22

    attached..

     
1 2 > >> (Page 1 of 2)