fonts - 如何使用音乐字体 Bravura Text?

标签 fonts notation opentype ligature

我正在尝试使用一种名为 Bravura Text 的开放式音乐字体。 .我想在我目前正在开发的应用程序中使用该字体。
我对 Bravura Text 的功能做了一些研究,字体的文档指出,可以写笔记并调整它们的 工作人员的垂直位置 .有特殊字符可以升高/降低五线谱上的符头以代表不同的音调。
我尝试在 Word 2013、Open Office Writer 和 Libre Office Writer 等文本应用程序中使用该功能。但我没有设法提高/降低符头。我所能看到的只是默认位置上的音符头,即音调 B(在 5 行五线谱的中线)。
文档文件,bravura-text.md , 以下是关于如何调整垂直位置的说明:

Bravura Text uses OpenType ligatures to modify the default vertical position of symbols. In OpenType fonts, ligatures are a kind of glyph substitution, where two or more glyphs are replaced with another single glyph. This is commonly used in text fonts to produce an elegant appearance for particular combinations of letters, such as "fi" or "fl".

In Bravura Text, ligatures are used to adjust the vertical position of individual symbols. First, you enter the code point corresponding to the amount by which you want to change the vertical position, and then you enter the code point for the symbol itself. Provided the application you are using supports OpenType ligatures, you should see the symbol appear at the desired vertical position.


我发现文档中提到的垂直定位字符的代码点是错误的,每个 mailing list reply .正确的代码点是 U+EB90–U+EB9F。
在我的示例中,我使用了邮件列表答案中提到的正确代码点。我将 Word 2013 配置为启用连字,并输入了以下代码点:
U+E014 U+EB9E U+E0A4
  • U+E014 ("staff5Lines") 用于显示 5 行员工
  • U+EB9E ("staffPosLower7") 用于降低符头 7 个半音。
  • U+E0A4 ("noteheadBlack") 用于在降低的五线谱位置显示符头

  • 我认为这就是文档所说的关于以调整的垂直位置输入笔记的内容,但这在我的文本应用程序中不起作用。我所看到的只是中间五线谱线上代表音符 B 的符头。
    有没有 Open Type 字体专家,谁能帮助我使用这种字体?我错过了什么吗?我如何以正确的方式输入这些连字?
    我在他们的邮件列表中写了一个问题,但还没有收到答复。
    我尝试在 Firefox 和 Chrome 中使用该字体,并启用了连字、字距调整和其他一些 OpenType 功能。这是一个简短的 HTML 示例:

    <!DOCTYPE html >
    <html lang="de">
    <head>
    <meta charset="UTF-8"/>
    <style>
    .opentype-on {
    font-family: "Bravura Text";
    font-size: 40pt;
    font-weight: 300;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-font-feature-settings: "liga" 1, "dlig" 1, "kern" 1, "salt" 1;
    -ms-font-feature-settings: "liga", "dlig";
    -webkit-font-feature-settings: "liga", "dlig";
    -o-font-feature-settings: "liga", "dlig";
    font-feature-settings: "kern", "liga", "dlig", "salt";
    text-rendering: optimizelegibility;
    }
    </style>
    </head>
    <body>
    <div class="opentype-on">
    &#xE014;&#xEB9E;&#xE0A4;
    </div>
    </body>
    </html>

    降低符头的连字字符仍然不起作用。使用“fi”或“ft”连字的其他字体按预期工作。
    我不确定,但它真的像键入字体的特定代码点以影响下一个字符的位置一样简单吗?
    有没有字体专家可以确认此功能可以在字体中使用?

    最佳答案

    我在 smufl 讨论区问过 Daniel Spreadbury,他最后回答说 otf 版本的 BravuraText 字体存在一个 bug,它实际上破坏了连字表。

    他在 steinberg github 存储库中提供了该字体的固定版本:

    https://github.com/steinbergmedia/bravura/raw/master/redist/otf/BravuraText.otf

    固定版本完全按照描述工作。

    关于fonts - 如何使用音乐字体 Bravura Text?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34559025/

    相关文章:

    jasper-reports - 字体扩展不适用于 OTF 字体 - JasperReports 4.7.1

    java - 如何动态更改字体名称?

    linux - Eclipse 中的字体

    c++ - 为什么 "0f"在 C++ 中不被视为浮点文字?

    algorithm - 比较算法的复杂性

    android - Android 中的 CTL(复杂文本语言)支持

    c++ - 在全屏模式下设置控制台字体大小

    css - SAPUI5 中的自定义字体 - 使用自定义字体覆盖整个主题及其控件字体

    big-o - (log n)^k = O(n)?对于 k 大于或等于 1

    iphone - 有人在 iPhone 上成功使用自定义 otf 字体吗?