unitsPerEm 236 Source/core/rendering/RenderTextControl.cpp float unitsPerEm = 2048.0f; unitsPerEm 237 Source/core/rendering/RenderTextControl.cpp return roundf(style()->font().fontDescription().computedSize() * x / unitsPerEm); unitsPerEm 76 Source/core/rendering/svg/SVGTextLayoutEngineSpacing.cpp kerning *= m_font.fontDescription().computedSize() / m_font.fontMetrics().unitsPerEm(); unitsPerEm 115 Source/core/rendering/svg/SVGTextRunRenderingContext.cpp float scale = scaleEmToUnits(fontData->platformData().size(), fontFaceElement->unitsPerEm()); unitsPerEm 77 Source/core/svg/SVGFontData.cpp unsigned unitsPerEm = svgFontFaceElement->unitsPerEm(); unitsPerEm 78 Source/core/svg/SVGFontData.cpp float scale = scaleEmToUnits(fontSize, unitsPerEm); unitsPerEm 93 Source/core/svg/SVGFontData.cpp fontMetrics.setUnitsPerEm(unitsPerEm); unitsPerEm 132 Source/core/svg/SVGFontData.cpp return m_horizontalAdvanceX * scaleEmToUnits(fontSize, svgFontFaceElement->unitsPerEm()); unitsPerEm 139 Source/core/svg/SVGFontData.cpp return svgGlyph.horizontalAdvanceX * scaleEmToUnits(fontSize, svgFontFaceElement->unitsPerEm()); unitsPerEm 228 Source/core/svg/SVGFontFaceElement.cpp return static_cast<int>(unitsPerEm()) - static_cast<int>(ceilf(vertOriginY.toFloat())); unitsPerEm 232 Source/core/svg/SVGFontFaceElement.cpp return static_cast<int>(ceilf(unitsPerEm() * 0.8f)); unitsPerEm 256 Source/core/svg/SVGFontFaceElement.cpp return static_cast<int>(ceilf(unitsPerEm() * 0.2f)); unitsPerEm 38 Source/core/svg/SVGFontFaceElement.h unsigned unitsPerEm() const; unitsPerEm 46 Source/platform/fonts/FontMetrics.h unsigned unitsPerEm() const { return m_unitsPerEm; } unitsPerEm 47 Source/platform/fonts/FontMetrics.h void setUnitsPerEm(unsigned unitsPerEm) { m_unitsPerEm = unitsPerEm; } unitsPerEm 156 Source/platform/fonts/FontMetrics.h inline float scaleEmToUnits(float x, unsigned unitsPerEm) unitsPerEm 158 Source/platform/fonts/FontMetrics.h return unitsPerEm ? x / unitsPerEm : x; unitsPerEm 109 Source/platform/fonts/SimpleFontData.h float sizePerUnit() const { return platformData().size() / (fontMetrics().unitsPerEm() ? fontMetrics().unitsPerEm() : 1); } unitsPerEm 113 Source/platform/fonts/opentype/OpenTypeUtilities.cpp BigEndianUShort unitsPerEm; unitsPerEm 181 Source/platform/fonts/skia/SimpleFontDataSkia.cpp if (int unitsPerEm = face->getUnitsPerEm()) unitsPerEm 182 Source/platform/fonts/skia/SimpleFontDataSkia.cpp m_fontMetrics.setUnitsPerEm(unitsPerEm);