如何使用音乐字体Bravura Text? [英] How to use the music font Bravura Text?

查看:221
本文介绍了如何使用音乐字体Bravura Text?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用称为 Bravura Text 的开放式音乐字体.我想在当前正在开发的应用程序中使用该字体.

I am trying to use an Open Type music font called Bravura Text. I want to use that font in an application that I am currently developing.

我对Bravura Text的功能进行了一些研究,并且字体的文档指出,可以编写注释并调整其在工作人员上的垂直位置.在工作人员上有一些特殊字符可以升高/降低记事头,以代表不同的音调.

I did a little research on the features of Bravura Text and the documentation of the font points out, that it is possible to write notes and adjust their vertical position on a staff. There are special characters to raise/lower a notehead on the staff to represent the different tones.

我尝试在Word 2013,Open Office Writer和Libre Office Writer等文本应用程序中使用该功能.但是我没有设法提高/降低信头.我所看到的只是其默认位置的音头,即音调B(在5行谱线的中线).

I tried to use that features in text applications like Word 2013, Open Office Writer and Libre Office Writer. But I didn't manage to raise/lower the noteheads. All I can see is the notehead on its default position which is the tone B (on the middle line of a 5 line staff).

文档文件 bravura- text.md ,说了以下有关如何调整垂直位置的信息:

The documentation file, bravura-text.md, says the following about how to adjust vertical positions:

Bravura Text使用OpenType连字来修改符号的默认垂直位置.在OpenType字体中,连字是一种字形替换,其中两个或多个字形被另一个单个字形替换.这通常用于文本字体中,以使字母的特定组合(例如"fi","fi","fi")产生优美的外观.或"fl".

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".

在Bravura文字中,连字用于调整文字的垂直位置 单个符号.首先,您输入与 您要更改垂直位置的数量,然后 您输入符号本身的代码点.提供了 您使用的应用程序支持OpenType连字,您应该看到 该符号将出现在所需的垂直位置.

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.

根据

I found out that the code points for the vertical positioning characters mentioned in the documentation are wrong, per a mailing list reply. The correct code points are U+EB90–U+EB9F.

在我的示例中,我使用邮件列表答案中提到的正确代码点.我将Word 2013配置为启用连字,并输入了以下代码点: U + E014 U + EB9E U + E0A4

In my example I use the correct code points as mentioned in the mailing list answer. I configured Word 2013 to enable ligatures and I entered the following code points: U+E014 U+EB9E U+E0A4

  • U + E014("staff5Lines"),用于显示5个工作人员
  • U + EB9E("staffPosLower7"),用于降低记事本的7个半音.
  • U + E0A4("noteheadBlack"),用于在降低的人员位置上显示记事头

我认为这是文档中有关调整垂直位置输入便笺的内容,但这在我的文本应用程序中不起作用.我所看到的只是中间职员行上的便笺头,代表便笺B.

I think this is what the documentation says about entering notes with adjusted vertical positions, but this does not work in my text applications. All I see is the notehead on the middle staff line representing the note B.

那里有没有Open Type字体专家,谁可以帮助我使用此字体?我想念什么吗?如何正确输入连字?

我在他们的邮件列表中写了一个问题,但尚未收到答案.

I wrote a question to the their mailing list, but didn't receive an answer yet.

我尝试在Firefox和Chrome中使用该字体,并启用了连字,字距调整和其他一些OpenType功能.这是简短的HTML示例:

I tried to use the font in Firefox and Chrome, with ligatures, kerning and some other OpenType features enabled. Here is the short HTML example:

<!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"工作正常.

The ligature character to lower the notehead still does not work. Other fonts using ligatures for "fi" or "ft" working as expected.

我不确定,但是真的应该像键入字体的特定代码点一样容易以影响下一个字符的位置吗?

是否有任何字体专家可以确认此功能可以在字体中使用?

推荐答案

我在smufl论坛上问了Daniel Spreadbury,他终于回答说BravuraText字体的otf版本中存在一个错误,该错误实际上打破了连字表

I asked Daniel Spreadbury in the smufl discussion forum, and he finally answered that there was a bug in the otf version of the BravuraText font which actually broke the ligature table.

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

He made a fixed version of the font available on the steinberg github repository:

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

固定版本完全按照说明工作.

The fixed version works exactly as described.

这篇关于如何使用音乐字体Bravura Text?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆