Hi Nenad,

Thanks for your patch. Commited to SVN.

Regards,
        Dom

On Friday, March 11, 2011 02:42:08 pm Nenad Novak wrote:
> Hi,
> 
> Line spacing should be taken from under laying FreeType library,  because
> it counts for linegap.
> 
> +#if 0
>      m_dLineSpacing        = (static_cast<double>(m_pFace->ascender +
> abs(m_pFace->descender))
>                               / m_pFace->units_per_EM);
> +#else
> +    m_dLineSpacing        = (static_cast<double>(m_pFace->height) /
> m_pFace->units_per_EM);
> +#endif
> 
> For some monospaced fonts, (ae: "ocraext.ttf"), width array after reduction
> can be empty, as all chars have same width.
> 
> 
> Regards,
> Nenad

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to