Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Word spacing issues in Opera 10.53 #60

Open
GoogleCodeExporter opened this issue Mar 6, 2016 · 5 comments
Open

Word spacing issues in Opera 10.53 #60

GoogleCodeExporter opened this issue Mar 6, 2016 · 5 comments

Comments

@GoogleCodeExporter
Copy link

Which program triggers the problem? Specify the filename if possible.
Opera 10.53

What steps will reproduce the problem?
1. Please take a look at one of the site examples provided below, in the 
screenshot section.
2.
3.

What is the expected output? What do you see instead?
Punctuation marks placement is sometimes wrong and spaces between words 
vary in width.

What version of gdipp (include renderer)? On which operating system?
gdipp version is 0.7.6, installed with default settings (as service, 
didn't modify any other settings). OS is Vista SP2 32 bit.

Please provide any additional information below. Screenshots always help.

Screenshots:
1. From http://www.reddit.com/r/programming/comments/bfdoe :

http://imgur.com/xPJTG.png

Spaces between words are compressed, punctuation marks overlap with last 
letters of the word before them. Notice that the site uses Verdana, which 
is wider than average.

2. From http://blog.woobling.org/2009/05/why-i-dont-use-couchdb.html :

http://imgur.com/cq4lr.png

Here the situation is the other way around, the spaces are wider than 
expected. Some punctuation marks are have gaps before them, although there 
are no spaces in the source code. The font looks rather more dense than 
average. I.e. a wider font leads to shorter gaps, a denser font to wide 
gaps.

Other than that, thanks for the nice library.

Original issue reported on code.google.com by ilja.hec...@gmail.com on 20 May 2010 at 8:11

@GoogleCodeExporter
Copy link
Author

This seems to be rather Opera's problem, since both Links look okay in Chrome 
and 
Firefox.

Original comment by ilja.hec...@gmail.com on 20 May 2010 at 11:22

@GoogleCodeExporter
Copy link
Author

Common reasons of inter-character gaps include native incompatibility between 
GDI and
FreeType, and application-specific character advancement. This Opera problem 
seems to
be the second, since Firefox renders OK. Application may provide the distance 
between
the left edge of the previous character and the current character. gdipp uses 
this
distance in prior to calculated distance. If such provided distance is too 
small or
large, the gap may become problematic.

Original comment by crendk...@gmail.com on 26 May 2010 at 5:33

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

This is also true in the NtEmacs and I think the reason is just like in opera. 
Space and punctuation are not fully displayed sometimes.

Original comment by lwth...@gmail.com on 25 Jun 2010 at 8:42

@GoogleCodeExporter
Copy link
Author

Can you provide screenshot of the NtEmacs case?

Original comment by crendk...@gmail.com on 10 Aug 2010 at 7:13

@GoogleCodeExporter
Copy link
Author

This issue is still present in gdipp 9.1 with Opera 10.62 on Windows XP SP3. 
The problem doesn't happen with ezgdi though.

Original comment by astroph...@gmail.com on 29 Sep 2010 at 7:23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant