[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2010-06-01 Thread hdu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415


User hdu changed the following:

What|Old value |New value

  Status|RESOLVED  |CLOSED





--- Additional comments from h...@openoffice.org Tue Jun  1 11:55:41 + 
2010 ---
Got into DEV300_m71 with CWS vcl108 = closing

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-07 Thread hdu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415


User hdu changed the following:

What|Old value |New value

  Status|STARTED   |RESOLVED

  Resolution|  |FIXED





--- Additional comments from h...@openoffice.org Mon Dec  7 08:47:56 + 
2009 ---
Applied in CWS vcl108. Thanks Keith!

One question: the patch fixes a problem in the generic part of Graphite. So why 
did the problem only 
happen Win?

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-07 Thread roydalpra
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415





--- Additional comments from roydal...@openoffice.org Mon Dec  7 09:24:51 
+ 2009 ---
As I understand it, in win version of OOo, fontScaling is used for larger sizes 
of font rather than fontsize, as a workaround to some priner driver problem. So 
as the problem was in handling fontScaling, it shows up in Windows. 

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-07 Thread kstribley
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415





--- Additional comments from kstrib...@openoffice.org Mon Dec  7 11:29:14 
+ 2009 ---
Thanks for applying the patch Herbert.

The mfScaling parameter is related to the SalLayout::mnUnitsPerPixel which afaik
is always set to 1 on Linux, whereas it varies on Windows.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-07 Thread hdu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415





--- Additional comments from h...@openoffice.org Mon Dec  7 12:01:48 + 
2009 ---
 On Unx the mnUnitsPerPixel becomes 1000 for Type1 fonts, but since graphite 
fonts are SFNTs this 
doesn't matter here.

The mfScaling is used on all platforms (Win/Unx/OsxAtsui) to prevent overflows 
in the platform's 
machinery when measuring on OOo's high-resolution reference device. IIRC the 
inherent font-size limits 
are somewhere around 8000 pixels on Win, and 15bit on Unx and Atsui. The 
overflow prevention is 
triggered at smaller sizes though because it doesn't impact the measurements 
but it helps the cache hit 
ratio and it helps to test the overflow prevention logic.

@keithp: You should get hg-commit rights... AFAIK the ssh-keys for svn should 
suffice.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-07 Thread hdu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415





--- Additional comments from h...@openoffice.org Mon Dec  7 12:21:48 + 
2009 ---
 On Unx the mnUnitsPerPixel becomes 1000 for Type1 fonts

and printer-builtin fonts where only AFM files are available

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-06 Thread roydalpra
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415





--- Additional comments from roydal...@openoffice.org Sun Dec  6 17:15:10 
+ 2009 ---
I confirm that this fix fixes both my demonstration of the issue, and the
original manifestation with the mongolian font. Many thanks Keith.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-05 Thread kstribley
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415


User kstribley changed the following:

What|Old value |New value

 Attachment is patch|  |Created an attachment (id=
|  |66502)
Patch to add font s
|  |cale to cache






--- Additional comments from kstrib...@openoffice.org Sat Dec  5 18:42:01 
+ 2009 ---
Created an attachment (id=66502)
Patch to add font scale to cache


-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-05 Thread kstribley
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415





--- Additional comments from kstrib...@openoffice.org Sat Dec  5 18:48:24 
+ 2009 ---
I can reproduce the problem by changing the font size of Test. with DoulosSIL.

Previously, I had omitted to check the font scaling parameter before reusing the
glyph vectors from the GrSegRecord cache. The attached patch stores the
fontscale in the GrSegRecord (there was already a field for it, it just wasn't
being used). The scale is then checked before the glyph vectors are reused.

@roydalpra Please could you check whether this patch fixes the bug for you.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-04 Thread hdu
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415


User hdu changed the following:

What|Old value |New value

  Ever confirmed|  |1

  Status|UNCONFIRMED   |STARTED

Target milestone|---   |OOo 3.3





--- Additional comments from h...@openoffice.org Fri Dec  4 09:52:11 + 
2009 ---
I haven't been able to reproduce the problem yet even when following the 
instructions to the letter... other 
than that thank you for the excellent issue description! I'm looking forward to 
the promised fix. If it is 
available before OOo33 branch-off it should make it for that target milestone.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-03 Thread roydalpra
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415
 Issue #|107415
 Summary|vcl: resizing with large size graphite font displays b
|adly 
   Component|gsl
 Version|OOo 3.2 Beta 1
Platform|Unknown
 URL|
  OS/Version|Windows, all
  Status|UNCONFIRMED
   Status whiteboard|
Keywords|
  Resolution|
  Issue type|DEFECT
Priority|P3
Subcomponent|www
 Assigned to|pl
 Reported by|roydalpra





--- Additional comments from roydal...@openoffice.org Thu Dec  3 15:20:27 
+ 2009 ---
Under specific conditions on windows, resizing text displayed with a graphite
font can be displayed with the original glyph positioning at the new size. This
only happens with sizing to/from larger font sizes (16 point I believe) and
reloading the document displays the resized test correctly. It does not always
happen but the presence of punctuation increases probability.
 
No test data is required to reproduce the problem. Create a new document and
select a graphite font, for example DoulosSIL. Select size 36.
Type the word Test immediately followed by a fullstop and return. Select the
text and resize to 24. The font size will change but will retain the
positioning, showing gaps between the characters.
 
Cause:
The graphite implementation includes two levels of cacheing. The most advance
cacheing is enabled wirh GRCACHE_REUSE_VECTORS=1. That form of cacheing does not
refresh the positionig data after a change of scaling. The windows version of
OOo uses scaling rather than font size to display larger sizes as a workaround
to print driver problems. But other actions can force the refreshing which does
take account of the scaling. So long strings of text when resized can work
correctly because graphite segements are regenerated for line wrap etc.
Linux does not use scaling in this way and so this is not seen on linux.

Workarounds
1. Recompile without GRCACHE_REUSE_VECTORS=1 for windows build.
or
2. Avoid resizing of graphite fonts at larger sizes. If the problem is seen,
save and reload the document.
 
 
Fix
In progress. A small safe fix to force rebuiliding of the positioning data in
the case of scaling changing should be a small safe fix. Contact the submitter
for more info.

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-03 Thread roydalpra
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415


User roydalpra changed the following:

What|Old value |New value

Priority|P3|P4

 Summary|vcl: resizing with large s|vcl: resizing with large s
|ize graphite font displays|ize graphite font displays
| badly| badly

Subcomponent|www   |code





-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org



[gsl-issues] [Issue 107415] vcl: resizing with large size graphite font displays badly

2009-12-03 Thread pl
To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=107415


User pl changed the following:

What|Old value |New value

 Assigned to|pl|hdu





--- Additional comments from p...@openoffice.org Thu Dec  3 17:02:15 + 
2009 ---
@hdu: please have a look

-
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

-
To unsubscribe, e-mail: issues-unsubscr...@gsl.openoffice.org
For additional commands, e-mail: issues-h...@gsl.openoffice.org


-
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org