Hi Rainer, a configuration dialog is always a bad idea anyway.
On my systems the print and desktop version look pretty much the same in terms of line breaks. But I never spent too much time to dig into the Qt docs about resolution and stuff. It should be possible to get all this information. Anyway the opinion about a readable font size will differ. So maybe a combobox to increase the fontsize by -2..2 could be a solution. It could be placed next to the sorting mode. I did quite some changes to get rid of crashes in the CDetailsPrj class today. So you want to update before you proceed. Oliver Am Sonntag, 16. August 2015, 20:25:50 schrieb rainerU: > Am 15.08.2015 um 22:22 schrieb Oliver Eichler: > > search for CHAR_PER_LINE. The font size is adjusted to the page size > > dynamically. Maybe you find a better algorithm. > > I had a look at the code and I think a simple and safe improvement would > be to have a minimum font size, let's say 6 or 7 pt. > > There could also be some improvement for the case that physical and > logical DPI are different. Currently the roadbook font size is > decreasing when the logical DPI is increasing, which is contrary to the > general behavior of the desktop and most applications. I could provide a > patch for both which I tested on Debian. > > However, my main concern is printing. I understand that to increase the > font size one has to decrease the 200 dpi resolution to some appropriate > value. But switching from one hard coded value to another is not the > solution and adding a dialogue for a configurable printer font size is > beyond my current QT and C++ knowledge. > > > > ---------------------------------------------------------------------------- > -- _______________________________________________ > Qlandkartegt-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
------------------------------------------------------------------------------
_______________________________________________ Qlandkartegt-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qlandkartegt-users
