You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A-platform/fontsE-more-complexVariable effort required; may require a mentor. Recommended solution is clearly described in the issI-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
Fonts are currently dealt with in servo_gfx, but that shouldn't be necessary. To draw servo_gfx only needs a native font handle - it doesn't need to be exposed to the complexity of font libraries and text shaping.
So, all font abstractions would be in their own crate, and gfx has a dependency on it? Or are you proposing separate crates for the font handles, font libraries, and the rest of gfx?
On Jan 16, 2013, at 22:00 , Brian Anderson wrote:
Fonts are currently dealt with in servo_gfx, but that shouldn't be necessary. To draw servo_gfx only needs a native font handle - it doesn't need to be exposed to the complexity of font libraries.
—
Reply to this email directly or view it on GitHub.
I do not think servo_gfx should have a dependency on servo_fonts or vice versa. If gfx needs a font abstraction to manage ref counts, etc. then I believe it needs a smaller set of features than the shaping code, so it can have its own font handle type and servo can convert between them. I'm not sure that servo_gfx needs a font handle type since it doesn't need to retain handles, but only use them for the duration of a drawing command.
A-platform/fontsE-more-complexVariable effort required; may require a mentor. Recommended solution is clearly described in the issI-refactorNo impact; the issue is one of maintainability or tidiness. Proposed solution requires refactoring.
Activity
burg commentedon Jan 17, 2013
So, all font abstractions would be in their own crate, and gfx has a dependency on it? Or are you proposing separate crates for the font handles, font libraries, and the rest of gfx?
On Jan 16, 2013, at 22:00 , Brian Anderson wrote:
brson commentedon Jan 17, 2013
I do not think servo_gfx should have a dependency on servo_fonts or vice versa. If gfx needs a font abstraction to manage ref counts, etc. then I believe it needs a smaller set of features than the shaping code, so it can have its own font handle type and servo can convert between them. I'm not sure that servo_gfx needs a font handle type since it doesn't need to retain handles, but only use them for the duration of a drawing command.
Merge pull request servo#249 from kenkania/master
Yoric commentedon Aug 6, 2015
@brson, are you still working on this? Is this bug still valid?
brson commentedon Aug 6, 2015
I'm not working on it, and whatever I was thinking at the time is certainly superseded by whatever others' are thinking now.
Auto merge of servo#249 - pcwalton:native-stack-quota, r=jdm