Ticket #3051 (closed feature: fixed)

Opened 2 years ago

Last modified 2 years ago

feature label: support fontStyle

Reported by: fredj Owned by: erilem
Priority: minor Milestone: 2.11 Release
Component: Style Version: 2.10
Keywords: Cc:
State: Commit

Description

Create a new fontStyle property (italic, oblique)

Attachments

3051.0.patch Download (3.3 KB) - added by fredj 2 years ago.
SVG, VML and Canvas implementation, only tested with SVG
3051.1.patch Download (4.3 KB) - added by fredj 2 years ago.
works with Canvas and SVG2

Change History

Changed 2 years ago by fredj

SVG, VML and Canvas implementation, only tested with SVG

Changed 2 years ago by fredj

works with Canvas and SVG2

Changed 2 years ago by fredj

in OpenLayers.Renderer.Canvas, the default values for the style.fontSize and style.fontFamily come from the spec.

see  http://www.whatwg.org/specs/web-apps/current-work/multipage/the-canvas-element.html#2dcontext

Changed 2 years ago by fredj

  • state set to Review

tested with chrome for the SVG, SVG2 and Canvas renderer, with IE7 for the VML renderer. Thanks for any review.

Changed 2 years ago by erilem

  • owner changed from ahocevar to erilem

Changed 2 years ago by erilem

  • state changed from Review to Commit

Looks good. Thanks fredj.

Changed 2 years ago by fredj

  • status changed from new to closed
  • resolution set to fixed

(In [11744]) font style support for feature label. r=erilem (closes #3051)

Note: See TracTickets for help on using tickets.