/dports/graphics/podofo/podofo-0.9.7/src/podofo/doc/ |
H A D | PdfFontMetricsBase14.cpp | 70 units_per_EM = 1000; in PdfFontMetricsBase14() 71 m_dPdfAscent = ascent * 1000 / units_per_EM; in PdfFontMetricsBase14() 72 m_dPdfDescent = descent * 1000 / units_per_EM; in PdfFontMetricsBase14() 76 m_dUnderlinePosition = static_cast<double>(munderline_pos) / units_per_EM; in PdfFontMetricsBase14() 77 m_dStrikeOutPosition = static_cast<double>(mstrikeout_pos) / units_per_EM; in PdfFontMetricsBase14() 81 m_dAscent = static_cast<double>(ascent) / units_per_EM; in PdfFontMetricsBase14() 82 m_dDescent = static_cast<double>(descent) / units_per_EM; in PdfFontMetricsBase14() 243 array.push_back( PdfVariant( bbox.GetLeft() * 1000.0 / units_per_EM ) ); in GetBoundingBox() 244 array.push_back( PdfVariant( bbox.GetBottom() * 1000.0 / units_per_EM ) ); in GetBoundingBox() 245 array.push_back( PdfVariant( bbox.GetWidth() * 1000.0 / units_per_EM ) ); in GetBoundingBox() [all …]
|
H A D | PdfFontMetricsFreetype.cpp | 221 m_dPdfAscent = m_pFace->ascender * 1000.0 / m_pFace->units_per_EM; in InitFromFace() 222 m_dPdfDescent = m_pFace->descender * 1000.0 / m_pFace->units_per_EM; in InitFromFace() 286 m_dLineSpacing = (static_cast<double>(m_pFace->height) / m_pFace->units_per_EM); in InitFontSizes() 289 m_dAscent = static_cast<double>(m_pFace->ascender) / m_pFace->units_per_EM; in InitFontSizes() 290 m_dDescent = static_cast<double>(m_pFace->descender) / m_pFace->units_per_EM; in InitFontSizes() 358 return m_pFace->glyph->metrics.horiAdvance * 1000.0 / m_pFace->units_per_EM; in GetGlyphWidth() 377 array.push_back( PdfVariant( m_pFace->bbox.xMin * 1000.0 / m_pFace->units_per_EM ) ); in GetBoundingBox() 378 array.push_back( PdfVariant( m_pFace->bbox.yMin * 1000.0 / m_pFace->units_per_EM ) ); in GetBoundingBox() 379 array.push_back( PdfVariant( m_pFace->bbox.xMax * 1000.0 / m_pFace->units_per_EM ) ); in GetBoundingBox() 380 array.push_back( PdfVariant( m_pFace->bbox.yMax * 1000.0 / m_pFace->units_per_EM ) ); in GetBoundingBox() [all …]
|
/dports/graphics/imlib2/imlib2-1.7.0/src/lib/ |
H A D | font_main.c | 47 fn->ft.face->units_per_EM = 2048; /* nasy hack - need to have correct in __imlib_font_ascent_get() 51 (fn->ft.face->units_per_EM * fn->ft.face->units_per_EM); in __imlib_font_ascent_get() 62 fn->ft.face->units_per_EM = 2048; /* nasy hack - need to have correct in __imlib_font_descent_get() 66 (fn->ft.face->units_per_EM * fn->ft.face->units_per_EM); in __imlib_font_descent_get() 77 fn->ft.face->units_per_EM = 2048; /* nasy hack - need to have correct in __imlib_font_max_ascent_get() 81 (fn->ft.face->units_per_EM * fn->ft.face->units_per_EM); in __imlib_font_max_ascent_get() 92 fn->ft.face->units_per_EM = 2048; /* nasy hack - need to have correct in __imlib_font_max_descent_get() 96 (fn->ft.face->units_per_EM * fn->ft.face->units_per_EM); in __imlib_font_max_descent_get() 107 fn->ft.face->units_per_EM = 2048; /* nasy hack - need to have correct in __imlib_font_get_line_advance() 111 (fn->ft.face->units_per_EM * fn->ft.face->units_per_EM); in __imlib_font_get_line_advance()
|
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/libnrtype/ |
H A D | FontInstance.cpp | 539 FT2GeomData user(path_builder, 1.0/((double)theFace->units_per_EM)); in LoadGlyph() 609 if ( theFace->units_per_EM == 0 ) { in FontDecoration() 906 if ( theFace->units_per_EM != 0 ) { // If zero then it's a bitmap font. in FindFontMetrics() 910 _ascent = fabs(((double)os2->sTypoAscender) / ((double)theFace->units_per_EM)); in FindFontMetrics() 911 _descent = fabs(((double)os2->sTypoDescender)/ ((double)theFace->units_per_EM)); in FindFontMetrics() 913 _ascent = fabs(((double)theFace->ascender) / ((double)theFace->units_per_EM)); in FindFontMetrics() 914 _descent = fabs(((double)theFace->descender) / ((double)theFace->units_per_EM)); in FindFontMetrics() 918 _design_units = theFace->units_per_EM; in FindFontMetrics() 931 _xheight = fabs(((double)os2->sxHeight) / ((double)theFace->units_per_EM)); in FindFontMetrics() 966 double math = (acbox.yMin + acbox.yMax)/2.0/(double)theFace->units_per_EM; in FindFontMetrics() [all …]
|
/dports/textproc/pdftohtml/pdftohtml-0.40a/splash/ |
H A D | SplashFTFont.cc | 60 (div * face->units_per_EM)); in SplashFTFont() 63 (div * face->units_per_EM)); in SplashFTFont() 66 (div * face->units_per_EM)); in SplashFTFont() 73 (div * face->units_per_EM)); in SplashFTFont() 80 (div * face->units_per_EM)); in SplashFTFont() 87 (div * face->units_per_EM)); in SplashFTFont() 94 (div * face->units_per_EM)); in SplashFTFont() 101 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/graphics/poppler-qt5/poppler-21.12.0/splash/ |
H A D | SplashFTFont.cc | 78 if (unlikely(textScale == 0 || face->units_per_EM == 0)) { in SplashFTFont() 86 x = (int)((mat[0] * face->bbox.xMin + mat[2] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 88 y = (int)((mat[1] * face->bbox.xMin + mat[3] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 90 x = (int)((mat[0] * face->bbox.xMin + mat[2] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 96 y = (int)((mat[1] * face->bbox.xMin + mat[3] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 102 x = (int)((mat[0] * face->bbox.xMax + mat[2] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 108 y = (int)((mat[1] * face->bbox.xMax + mat[3] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 114 x = (int)((mat[0] * face->bbox.xMax + mat[2] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 120 y = (int)((mat[1] * face->bbox.xMax + mat[3] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont()
|
/dports/graphics/poppler-glib/poppler-21.12.0/splash/ |
H A D | SplashFTFont.cc | 78 if (unlikely(textScale == 0 || face->units_per_EM == 0)) { in SplashFTFont() 86 x = (int)((mat[0] * face->bbox.xMin + mat[2] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 88 y = (int)((mat[1] * face->bbox.xMin + mat[3] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 90 x = (int)((mat[0] * face->bbox.xMin + mat[2] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 96 y = (int)((mat[1] * face->bbox.xMin + mat[3] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 102 x = (int)((mat[0] * face->bbox.xMax + mat[2] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 108 y = (int)((mat[1] * face->bbox.xMax + mat[3] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 114 x = (int)((mat[0] * face->bbox.xMax + mat[2] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 120 y = (int)((mat[1] * face->bbox.xMax + mat[3] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont()
|
/dports/graphics/poppler/poppler-21.12.0/splash/ |
H A D | SplashFTFont.cc | 78 if (unlikely(textScale == 0 || face->units_per_EM == 0)) { in SplashFTFont() 86 x = (int)((mat[0] * face->bbox.xMin + mat[2] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 88 y = (int)((mat[1] * face->bbox.xMin + mat[3] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 90 x = (int)((mat[0] * face->bbox.xMin + mat[2] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 96 y = (int)((mat[1] * face->bbox.xMin + mat[3] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 102 x = (int)((mat[0] * face->bbox.xMax + mat[2] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 108 y = (int)((mat[1] * face->bbox.xMax + mat[3] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 114 x = (int)((mat[0] * face->bbox.xMax + mat[2] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 120 y = (int)((mat[1] * face->bbox.xMax + mat[3] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont()
|
/dports/graphics/poppler-utils/poppler-21.12.0/splash/ |
H A D | SplashFTFont.cc | 78 if (unlikely(textScale == 0 || face->units_per_EM == 0)) { in SplashFTFont() 86 x = (int)((mat[0] * face->bbox.xMin + mat[2] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 88 y = (int)((mat[1] * face->bbox.xMin + mat[3] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 90 x = (int)((mat[0] * face->bbox.xMin + mat[2] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 96 y = (int)((mat[1] * face->bbox.xMin + mat[3] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 102 x = (int)((mat[0] * face->bbox.xMax + mat[2] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 108 y = (int)((mat[1] * face->bbox.xMax + mat[3] * face->bbox.yMin) / (div * face->units_per_EM)); in SplashFTFont() 114 x = (int)((mat[0] * face->bbox.xMax + mat[2] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont() 120 y = (int)((mat[1] * face->bbox.xMax + mat[3] * face->bbox.yMax) / (div * face->units_per_EM)); in SplashFTFont()
|
/dports/print/tex-luatex/texlive-20150521-source/libs/xpdf/xpdf-3.04/splash/ |
H A D | SplashFTFont.cc | 73 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 129 (div * face->units_per_EM)); in SplashFTFont() 132 (div * face->units_per_EM)); in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 142 (div * face->units_per_EM)); in SplashFTFont() 149 (div * face->units_per_EM)); in SplashFTFont() 156 (div * face->units_per_EM)); in SplashFTFont() 163 (div * face->units_per_EM)); in SplashFTFont() 170 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/graphics/xpdf3/xpdf-3.04/splash/ |
H A D | SplashFTFont.cc | 73 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 129 (div * face->units_per_EM)); in SplashFTFont() 132 (div * face->units_per_EM)); in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 142 (div * face->units_per_EM)); in SplashFTFont() 149 (div * face->units_per_EM)); in SplashFTFont() 156 (div * face->units_per_EM)); in SplashFTFont() 163 (div * face->units_per_EM)); in SplashFTFont() 170 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/devel/tex-web2c/texlive-20150521-source/libs/xpdf/xpdf-3.04/splash/ |
H A D | SplashFTFont.cc | 73 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 129 (div * face->units_per_EM)); in SplashFTFont() 132 (div * face->units_per_EM)); in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 142 (div * face->units_per_EM)); in SplashFTFont() 149 (div * face->units_per_EM)); in SplashFTFont() 156 (div * face->units_per_EM)); in SplashFTFont() 163 (div * face->units_per_EM)); in SplashFTFont() 170 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/japanese/tex-ptex/texlive-20150521-source/libs/xpdf/xpdf-3.04/splash/ |
H A D | SplashFTFont.cc | 73 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 129 (div * face->units_per_EM)); in SplashFTFont() 132 (div * face->units_per_EM)); in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 142 (div * face->units_per_EM)); in SplashFTFont() 149 (div * face->units_per_EM)); in SplashFTFont() 156 (div * face->units_per_EM)); in SplashFTFont() 163 (div * face->units_per_EM)); in SplashFTFont() 170 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/print/tex-basic-engines/texlive-20150521-source/libs/xpdf/xpdf-3.04/splash/ |
H A D | SplashFTFont.cc | 73 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 129 (div * face->units_per_EM)); in SplashFTFont() 132 (div * face->units_per_EM)); in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 142 (div * face->units_per_EM)); in SplashFTFont() 149 (div * face->units_per_EM)); in SplashFTFont() 156 (div * face->units_per_EM)); in SplashFTFont() 163 (div * face->units_per_EM)); in SplashFTFont() 170 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/print/tex-aleph/texlive-20150521-source/libs/xpdf/xpdf-3.04/splash/ |
H A D | SplashFTFont.cc | 73 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 129 (div * face->units_per_EM)); in SplashFTFont() 132 (div * face->units_per_EM)); in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 142 (div * face->units_per_EM)); in SplashFTFont() 149 (div * face->units_per_EM)); in SplashFTFont() 156 (div * face->units_per_EM)); in SplashFTFont() 163 (div * face->units_per_EM)); in SplashFTFont() 170 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/print/tex-xetex/texlive-20150521-source/libs/xpdf/xpdf-3.04/splash/ |
H A D | SplashFTFont.cc | 73 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 129 (div * face->units_per_EM)); in SplashFTFont() 132 (div * face->units_per_EM)); in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 142 (div * face->units_per_EM)); in SplashFTFont() 149 (div * face->units_per_EM)); in SplashFTFont() 156 (div * face->units_per_EM)); in SplashFTFont() 163 (div * face->units_per_EM)); in SplashFTFont() 170 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/graphics/swftools/swftools-0.9.2/lib/pdf/xpdf/ |
H A D | SplashFTFont.cc | 71 (div * face->units_per_EM)); in SplashFTFont() 74 (div * face->units_per_EM)); in SplashFTFont() 77 (div * face->units_per_EM)); in SplashFTFont() 84 (div * face->units_per_EM)); in SplashFTFont() 91 (div * face->units_per_EM)); in SplashFTFont() 98 (div * face->units_per_EM)); in SplashFTFont() 105 (div * face->units_per_EM)); in SplashFTFont() 112 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/graphics/xpdf/xpdf-4.03/splash/ |
H A D | SplashFTFont.cc | 78 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 139 (div * face->units_per_EM)); in SplashFTFont() 143 (div * face->units_per_EM)); in SplashFTFont() 151 (div * face->units_per_EM)); in SplashFTFont() 159 (div * face->units_per_EM)); in SplashFTFont() 167 (div * face->units_per_EM)); in SplashFTFont() 175 (div * face->units_per_EM)); in SplashFTFont() 183 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/graphics/xpdf4/xpdf-4.03/splash/ |
H A D | SplashFTFont.cc | 78 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 135 (div * face->units_per_EM)); in SplashFTFont() 139 (div * face->units_per_EM)); in SplashFTFont() 143 (div * face->units_per_EM)); in SplashFTFont() 151 (div * face->units_per_EM)); in SplashFTFont() 159 (div * face->units_per_EM)); in SplashFTFont() 167 (div * face->units_per_EM)); in SplashFTFont() 175 (div * face->units_per_EM)); in SplashFTFont() 183 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/print/libotf/libotf-0.9.16/example/ |
H A D | otftobdf.c | 52 * pixel_size / face->units_per_EM); in dump_header() 54 * pixel_size / face->units_per_EM); in dump_header() 55 int x = face->bbox.xMin * pixel_size / face->units_per_EM; in dump_header() 56 int y = face->bbox.yMin * pixel_size / face->units_per_EM; in dump_header()
|
/dports/audio/musescore/MuseScore-3.6.1/thirdparty/poppler/splash/ |
H A D | SplashFTFont.cc | 91 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 147 (div * face->units_per_EM)); in SplashFTFont() 150 (div * face->units_per_EM)); in SplashFTFont() 153 (div * face->units_per_EM)); in SplashFTFont() 160 (div * face->units_per_EM)); in SplashFTFont() 167 (div * face->units_per_EM)); in SplashFTFont() 174 (div * face->units_per_EM)); in SplashFTFont() 181 (div * face->units_per_EM)); in SplashFTFont() 188 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/print/tex-luatex/texlive-20150521-source/libs/poppler/poppler-0.32.0/splash/ |
H A D | SplashFTFont.cc | 91 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 147 (div * face->units_per_EM)); in SplashFTFont() 150 (div * face->units_per_EM)); in SplashFTFont() 153 (div * face->units_per_EM)); in SplashFTFont() 160 (div * face->units_per_EM)); in SplashFTFont() 167 (div * face->units_per_EM)); in SplashFTFont() 174 (div * face->units_per_EM)); in SplashFTFont() 181 (div * face->units_per_EM)); in SplashFTFont() 188 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/print/tex-xetex/texlive-20150521-source/libs/poppler/poppler-0.32.0/splash/ |
H A D | SplashFTFont.cc | 91 scale = (SplashCoord)1 / (SplashCoord)face->units_per_EM; in SplashFTFont() 147 (div * face->units_per_EM)); in SplashFTFont() 150 (div * face->units_per_EM)); in SplashFTFont() 153 (div * face->units_per_EM)); in SplashFTFont() 160 (div * face->units_per_EM)); in SplashFTFont() 167 (div * face->units_per_EM)); in SplashFTFont() 174 (div * face->units_per_EM)); in SplashFTFont() 181 (div * face->units_per_EM)); in SplashFTFont() 188 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/devel/emscripten/emscripten-2.0.3/tests/third_party/poppler/splash/ |
H A D | SplashFTFont.cc | 87 (div * face->units_per_EM)); in SplashFTFont() 90 (div * face->units_per_EM)); in SplashFTFont() 93 (div * face->units_per_EM)); in SplashFTFont() 100 (div * face->units_per_EM)); in SplashFTFont() 107 (div * face->units_per_EM)); in SplashFTFont() 114 (div * face->units_per_EM)); in SplashFTFont() 121 (div * face->units_per_EM)); in SplashFTFont() 128 (div * face->units_per_EM)); in SplashFTFont()
|
/dports/editors/ted/Ted-2.23/appFrame/ |
H A D | appFontConfig.c | 305 afi->afiXHeight= ftFace->units_per_EM/ 2; in appFcGetFontMetrics() 307 appFcScaleRect( &(afi->afiFontBBox), ftFace->units_per_EM ); in appFcGetFontMetrics() 308 appFcScaleInt( &(afi->afiAscender), ftFace->units_per_EM ); in appFcGetFontMetrics() 309 appFcScaleInt( &(afi->afiDescender), ftFace->units_per_EM ); in appFcGetFontMetrics() 310 appFcScaleInt( &(afi->afiUnderlinePosition), ftFace->units_per_EM ); in appFcGetFontMetrics() 311 appFcScaleInt( &(afi->afiUnderlineThickness), ftFace->units_per_EM ); in appFcGetFontMetrics() 313 appFcScaleInt( &(afi->afiCapHeight), ftFace->units_per_EM ); in appFcGetFontMetrics() 314 appFcScaleInt( &(afi->afiXHeight), ftFace->units_per_EM ); in appFcGetFontMetrics() 347 appFcScaleInt( &WX, ftFace->units_per_EM ); in appFcGetFontMetrics() 348 appFcScaleRect( &abb, ftFace->units_per_EM ); in appFcGetFontMetrics()
|