Author Topic: When print/preview and the mode is landscape - some chars are hidden  (Read 1541 times)

Offline Arthur

  • Hero Member
  • *****
  • Posts: 620
  • Karma: +1/-0
  • He who is ashamed of asking is afraid of learning.
    • View Profile
    • My Blog
When print/preview mode is on and the document is set to print in landscape - one last char may be hidden.
Example: a line of 119 characters in length will not show the last char.
Screen resolution was 1280 x 800
Was in vbsript file.
Example attached

Offline JJK

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Re: print/preview with color syntaxing
« Reply #1 on: February 17, 2009, 10:10:18 am »
I noticed also strange behavior of Print preview in portrait/landscape modes since v1.42b617 (possibibly before ?).
No char appears, only dots, little lines, in all zoom levels. It seems as fragments of real chars.
I observe that on .bas files with color syntaxing, but not on plain texts without color syntaxing.
I tried with a color printer and with a monochrome printer. In both cases, preview displays colored dots.


Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: When print/preview and the mode is landscape - some chars are hidden
« Reply #2 on: February 18, 2009, 12:32:49 am »
Hi,

To Arhtur: can reproduce. Thanks a lot. Whould be fixed in new beta.
To JJK: Could not reproduce :/. Maybe you have some strange scale factor set in non preview mode (but generally should work anyway, have checked). Also have tried with synatx highlighted mode. With diferent zoom factors. Maybe font? Line spacing?

Offline JJK

  • Full Member
  • ***
  • Posts: 151
  • Karma: +2/-0
    • View Profile
Re: When print/preview and the mode is landscape - some chars are hidden
« Reply #3 on: February 18, 2009, 09:55:10 am »
Quote
Maybe font? Line spacing?
Oops, you are right, I had set line spacing=16 pt. With Line spacing=single, all is OK.
Sorry. I will not do again :)

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: When print/preview and the mode is landscape - some chars are hidden
« Reply #4 on: February 18, 2009, 02:08:29 pm »
Ok, now it is clear.
This is also a bug ;) Your 16 pt were not correclty converted on printing metrics.
Would be corrected with new beta.

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 772
  • Karma: +6/-0
    • View Profile
Re: When print/preview and the mode is landscape - some chars are hidden
« Reply #5 on: February 18, 2009, 02:43:18 pm »
HE610
Tools > Syntax Settings (<current type>, txt in my case)


I want to try this out too:
Line Spacing > Exactly > [  10]  (as default setting) works fine.



But try to set to '11' .. or '13'  or '16'  give me:

---------------------------
HippoEdit.exe - Fehler in Anwendung
---------------------------
Die Ausnahme "unknown software exception" (0xc000000d) ist in der Anwendung an der Stelle 0x78138a8c aufgetreten.
Klicken Sie auf "OK", um das Programm zu beenden.
Klicken Sie auf "Abbrechen", um das Programm zu debuggen.
---------------------------
OK   Abbrechen   
---------------------------





EDIT:
now the same error msg if i want to switch to multiple and even back to single.

I had to temporally rename the default.hewsp to be able to switch back to 'single'

.
« Last Edit: February 18, 2009, 03:03:29 pm by Stefan »

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: When print/preview and the mode is landscape - some chars are hidden
« Reply #6 on: February 19, 2009, 12:56:54 am »
Hello Stefan,

could not reproduce this.

When you get it? After pressing Apply/Ok? Or when removing focus from field.
How you did it: editing text or with spinner?

Maybe some other settings ... ?

Offline Stefan

  • Administrator
  • Hero Member
  • *****
  • Posts: 772
  • Karma: +6/-0
    • View Profile
Re: When print/preview and the mode is landscape - some chars are hidden
« Reply #7 on: February 19, 2009, 08:41:11 am »
The error occurs when i press OK or Apply in  "Tools > Syntax Settings > PlainText"-dialog

- i choose Exactly:10
- press OK
- all wents fine
- go back to syntax settings
- for Exactly i choose 11
- press OK
- get the error
- go back to syntax settings
- choose single
- press OK
- get the error
- can't set the spacing back to 'single'
- have to rename 'default.hewsp' (which was active this time) to get out of this
(guess i can just chose an other workspace from menu)
- after renaming the 'default.hewsp' i was able to switch back to 'single'
- then i can re-use my 'default.hewsp'


i can make a vid this evening? and sent you my 'default.hewsp'

Offline alex

  • Developer
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1666
  • Karma: +29/-2
    • View Profile
    • HippoEDIT
Re: When print/preview and the mode is landscape - some chars are hidden
« Reply #8 on: February 19, 2009, 05:00:48 pm »
Hello Stefan,

sorry, could not reproduce.

Please send me your default.hewsp + txt_spec.xml + txt_user.xml. Because generally information about line spacing should be stored in user file. Better send me complete syntax folder (because maybe you have inherited properties from parent schemas).

I would try to reproduce... maybe something was fixed in this area form 610 from my side... But I have doubts...

Send to supportbox hippoedit com.

Best regards,
Alex.

 

Related Topics

  Subject / Started by Replies Last post
3 Replies
447 Views
Last post February 19, 2009, 10:02:59 pm
by alex
4 Replies
886 Views
Last post April 29, 2009, 06:18:50 pm
by Arthur
4 Replies
531 Views
Last post May 24, 2009, 05:54:43 am
by Scott Bilas
3 Replies
368 Views
Last post August 27, 2009, 07:03:36 pm
by alex
2 Replies
270 Views
Last post August 11, 2010, 03:46:24 pm
by alex