Jump to content
WnSoft Forums

Space in text


Mavi

Recommended Posts

Hello

When i use a space in text session,

the longer is not the same before or after a dash

It's very difficult to create a beautiful text in this condition.

To correct this problem i use 2 space before et 1 after but it's not a real solution.

Thanks

Vincent

Link to comment
Share on other sites

Hi Vincent,

I just tried Calibri and can't reproduce that issue. Could you tell me the operating system you are using and the version and when Igor gets back from his trip, I'll ask him to look into this.

Bests regards,

Lin

Link to comment
Share on other sites

no problem with calibri but problem with calibri light

with last version of PTE

OOpppsss... Didn't notice that. I don't have 'light'.

Maybe go to his site and do their 'Try It'. And see if you get the same problem to whether it does it outside of PTE. Just guessing.

http://www.fonts.com/font/microsoft-corporation/calibri/light

Gary

Link to comment
Share on other sites

I also see the problem but it seems to be because of the Font?

Type the same "H - H - H" in Arial and it is OK.

Change the Font on that Text and the problem arises.

OTOH if Calibri Light is used in Word Pad the same problem does not exist.

One for Igor.

DG

P.S. The problem also seems to be with the "dash" and not with the "H".

Use something else like the "=" and the problem does not exist.

Link to comment
Share on other sites

  • 2 weeks later...

Hi,

We checked our code and we can't find a reason of this problem with a space and dash.

PicturesToExe supports a text ligature (see Wikipedia )

Calibri Light font includes ligatures.

For example, PicturesToExe correctly draws "ff", "fi", "fl" for Calibri font:

post-1-0-84644100-1414064290_thumb.png

Even Microsoft Word / Wordpress don't support ligatures:

PSG/PSP don't support ligatures.

We work with text objects on very low level using special Windows API. Probably the problem happens in Windows.

Link to comment
Share on other sites

thank you to be focused on the problem.

But it's very strange. I haven't got the same.

No problem with ligature on PSP, Pack Office software.

I have problem on PTE and a another software NOTE (of Windows).

Very strange.....

The PC with Windows Seven Pro, SP1

Vincent

post-11453-0-00546900-1414066067_thumb.j

Link to comment
Share on other sites

Vincent,

Please look at a screenshot of PSP - in word "fiole" letters "f" and "i" are NOT linked in PSP. And these letters are linked in PicturesToExe and Photoshop.

"fi" is a ligature in Calibri fonts. It should be rendered as one virtual symbol. PSP can't do it.

We can easily fix the problem with a space and dash. When we disable support of ligatures the problem doesn't appear.

It seems that a space + dash (" -") is a ligature in Calibri Light and it has wrong width. We don't know where this problem - in Calibri Light font or in Windows API.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...