0

我很困惑为什么在我的网络应用程序 Flot 中非常奇怪地渲染了标签字体(参见图表旁边的屏幕截图侧标签),而在查看 Flot 示例时,它们在同一个浏览器中呈现得很好(即 ​​7 和 8 模式) .

任何帮助,将不胜感激。

-- 字体应该是无衬线字体。

在此处输入图像描述

例如,这是我的页眉:

标题

<!doctype html>
<html>
    <head><script type="text/javascript">var NREUMQ=NREUMQ||[];NREUMQ.push(["mark","firstbyte",new Date().getTime()]);</script>
            <title>Acme Inc. Contact Cloud</title>
            <meta name="description" content="View 's complete contact details on ContactMonkey.com." >
            <meta name="robots" content="noindex,noarchive,nofollow" />
                <link rel="icon" type="image/png" href="/system/favicons/45/original/favicon.png?1329843127" />
            <link href="/stylesheets/whitelabel.css?1335117438" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/autoSuggest.css?1335117438" media="screen" rel="stylesheet" type="text/css" />
                <link rel="stylesheet" href="/stylesheets-clients/acme.css" type="text/css" />
        <link href="/stylesheets/anythingslider.css?1335117438" media="screen" rel="stylesheet" type="text/css" />
<link href="/stylesheets/colorbox.css?1335117438" media="screen" rel="stylesheet" type="text/css" />
        <!--[if lte IE 9]><script src="/javascripts/flot/excanvas.min.js?1335117438" type="text/javascript"></script><![endif]-->
        <script src="/javascripts/flot/excanvas.min.js?1335117438" type="text/javascript"></script>
        <script src="/javascripts/jquery.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.colorbox-min.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery-ui-min.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/application.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/application_new.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery_ujs.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/form_validations.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/css_browser_selector.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.form.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.remotipart.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.infieldlabel.min.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.cookie.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.livequery.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.autogrow.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/si.files.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.anythingslider.fx.min.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.anythingslider.min.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.easing.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.keyfilter.min.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.cycle.min.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.autoSuggest.packed.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/edit_card_modal.js?1335117438" type="text/javascript"></script>
<script src="/javascripts/jquery.resize.min.js?1335117438" type="text/javascript"></script>

页面特定脚本:

<link href="/stylesheets/charts.css?1335117438" media="screen" rel="stylesheet" type="text/css" />
    <script src="/javascripts/underscore.js?1335117438" type="text/javascript"></script>
    <script src="/javascripts/flot/jquery.flot.js?1335117438" type="text/javascript"></script>
    <script src="/javascripts/flot/jquery.flot.categories.js?1335117438" type="text/javascript"></script>
    <script src="/javascripts/flot/jquery.flot.stack.js?1335117438" type="text/javascript"></script>
    <script src="/javascripts/charts.js?1335117438" type="text/javascript"></script>
4

1 回答 1

0

问题在于将画布文本呈现为 IE 6-8 兼容文本的库。除了将文本呈现为纯文本并切换到不同的图表库之外,我没有其他解决方案。

于 2012-06-14T15:47:30.733 回答