New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consider dropping gfxOS2Font and related classes #65
Comments
Quite likely that these classes predate the introduction of Freetype and |
Will this make |
This really depends on how exactly |
On 06/02/14 09:24 AM, Dmitriy Kuminov wrote:
Not sure but mzfntcfg may have to be extended to support locally |
Another consideration is that we use Cairo and Freetype to get anti-aliased fonts whereas most systems do it system wide. Likely other similar stuff that we do on the application level instead of system level. |
1 similar comment
Another consideration is that we use Cairo and Freetype to get anti-aliased fonts whereas most systems do it system wide. Likely other similar stuff that we do on the application level instead of system level. |
The experiment of trying to switch from But first I will commit the |
So far the new fntcfg2 breaks warpsans to workplace sans mapping it seems. This is most visible in the menus which now seem to use Helvetia much like if workplace sans is unavailable. In particular Thunderbird, which I don't think I ever changed the fonts on, looks terrible with all the fonts being changed. SeaMonkey and Firefox aren't much better, especially the menus and tabs. |
It no longer does. See http://trac.netlabs.org/ports/ticket/76 for details. But thanks for reporting. |
The switch to pango is committed in 9b85e3b. |
Sure, pango, cairo and pixman are to be released as RPMs. I have fixed all problems locally. |
It seems that |
It turns out that our fontconfig doesn't read charset information from fonts at all (because the whole font enumeration part is different). In particular, our code never calls Now I tend to taking stock fontconfig sources as a whole and only change the small part where they enumerate fonts (and use the PM INI file instead of XML there, as in the current version), leaving all the remaining original logic intact. This will bring us charsets among other things. Note that we don't get web fonts working out of the box though (see the github page on the screenshot). Maybe its support needs some actual charset information or there is some failure in the font download code. I will check that after I sort out the charset question. |
Yes, using |
Did you remember to re-enable the preference "gfx.downloadable_fonts.enabled". |
Yes, doesn't help. There has to be something else. |
Just for the record, we decided to move to the full upstream version of fontconfig instead of using the restricted one. The details are here: http://trac.netlabs.org/ports/ticket/77. And here is Firefox 38 running with new fontconfig (notice how nicely it selected a replacement for WarpSans): It must be DjeaVu Sans or such (which I have installed). I will add a default substitution for WarpSans with Workplace Sans to the stock fonts.conf of course. |
This issue may actually be closed; the main target is reached. The rest is to be done within #23 and in the respective fontconfig tickets (see above). |
The
gfxOS2Font
andgfxOS2FontGroup
classes use Freetype to implement glyph rendering on OS/2. However, there is alreadygfxFT2Font
and friends (used on other platforms) that also use Freetype. Perhaps we can reuse these classes on OS/2 as well. Since these classes are upstream, they get instant updates and this way will not have to sync our specific OS/2 versions (which are pretty much outdated after updating to 17esr) with any future updates.For examples of going out of sync see e.g. #21.
The text was updated successfully, but these errors were encountered: