After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665845 - operator rendering code does not set font weight to normal.
operator rendering code does not set font weight to normal.
Status: RESOLVED FIXED
Product: lasem
Classification: Other
Component: Mathml
0.3.x
Other Linux
: Normal major
: ---
Assigned To: Emmanuel Pacaud
Depends on:
Blocks:
 
 
Reported: 2011-12-09 08:19 UTC by nakamoto
Modified: 2011-12-10 13:56 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description nakamoto 2011-12-09 08:19:49 UTC
lsm_mathml_view_update_layout_for_operator() does not set weight, while lsm_mathml_view_update_layout_for_text() does. So, an operator is always rendered using the weight of the preceding text.

For example:

<mi mathvariant="bold">r</mi>
<mo>&equiv;</mo>

In the case above, &equiv; operator becomes bold.

lsm_mathml_view_update_layout_for_operator() should explicitly call pango_font_description_set_weight (font_description, PANGO_WEIGHT_NORMAL) .
Comment 1 Emmanuel Pacaud 2011-12-10 13:56:24 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.