Public bug reported:

Fonts get wrong  transform and kerning when using different attributes
for the same face.

[Test Case]
Notice how the following code has the T displaying over the e

import "ecere"

class Form1 : Window
{
   caption = "Form1";
   background = activeBorder;
   borderStyle = sizable;
   hasMaximize = true;
   hasMinimize = true;
   hasClose = true;
   clientSize = { 632, 438 };

   Label label1 { this, caption = "Test", font = { "Arial", 12 }, position = { 
128, 88 } };
   Label label2 { this, caption = "Test", font = { "Arial", 64 }, position = { 
120, 168 } };
}

Form1 form1 {};

[Regression Potential]
The Font objects of the same face share the FreeType object, and must reset 
these attributes when re-rendering the font or re-computing kernings between 2 
characters. The fix required invoking FreeType to change these attributes. 
Everything seemded to be working fine.

** Affects: ecere-sdk (Ubuntu)
     Importance: Undecided
     Assignee: Jerome St-Louis (jerstlouis)
         Status: New

** Changed in: ecere-sdk (Ubuntu)
     Assignee: (unassigned) => Jerome St-Louis (jerstlouis)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1107874

Title:
  [SRU] When using different fonts attributes for same face, fonts get
  missed up in Ecere

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ecere-sdk/+bug/1107874/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to