mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-30 11:18:39 +09:00
Bug 1448774. r=dholbert, a=RyanVM
--HG-- extra : source : edfd9ffbd7208ef0a59f40a0d77d8dd53c905cb9 extra : intermediate-source : 3784b22ec536b08ce95201d73ae8806340c18b8c
This commit is contained in:
parent
7f57b96c83
commit
25bd606d80
2 changed files with 3 additions and 2 deletions
|
|
@ -5111,8 +5111,8 @@ SVGTextFrame::DoGlyphPositioning()
|
|||
float actualTextLength =
|
||||
static_cast<float>(presContext->AppUnitsToGfxUnits(frameLength) * factor);
|
||||
|
||||
RefPtr<SVGAnimatedEnumeration> lengthAdjustEnum = element->LengthAdjust();
|
||||
uint16_t lengthAdjust = lengthAdjustEnum->AnimVal();
|
||||
uint16_t lengthAdjust =
|
||||
element->EnumAttributes()[SVGTextContentElement::LENGTHADJUST].GetAnimValue();
|
||||
switch (lengthAdjust) {
|
||||
case SVG_LENGTHADJUST_SPACINGANDGLYPHS:
|
||||
// Scale the glyphs and their positions.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue