зеркало из https://github.com/mozilla/pjs.git
test for bug 634556 a=test
--HG-- extra : transplant_source : %F919%0D%5C%FC%06%87%21.%7C9%A2%A5%14%CCe%EC%9A%C0
This commit is contained in:
Родитель
859eaa196b
Коммит
a760aa7f85
|
@ -90,3 +90,26 @@ for codepoint in range(ord("A"), ord("A") + 1):
|
|||
f.generate("mark" + mark + charname + "-" + uposname +
|
||||
"underline.ttf")
|
||||
|
||||
f = fontforge.font()
|
||||
n = "MarkAB-spaceliga"
|
||||
f.fontname = n
|
||||
f.familyname = n
|
||||
f.fullname = n
|
||||
f.copyright = "Copyright (c) 2008-2011 Mozilla Corporation"
|
||||
|
||||
g = f.createChar(ord(" "), "space")
|
||||
g.width = 1000
|
||||
for charname in ["A", "B"]:
|
||||
g = f.createChar(ord(charname), charname)
|
||||
g.importOutlines("mark-glyph.svg")
|
||||
g.width = 1500
|
||||
|
||||
f.addLookup("liga-table", "gsub_ligature", (), (("liga",(("latn",("dflt")),)),))
|
||||
f.addLookupSubtable("liga-table", "liga-subtable")
|
||||
g = f.createChar(-1, "spaceA")
|
||||
g.glyphclass = "baseligature";
|
||||
g.addPosSub("liga-subtable", ("space", "A"))
|
||||
g.importOutlines("mark2-glyph.svg")
|
||||
g.width = 1800
|
||||
|
||||
f.generate("markAB-spaceliga.otf")
|
||||
|
|
Двоичный файл не отображается.
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
||||
"http://www.w3.org/TR/html4/strict.dtd">
|
||||
<html lang="en-US">
|
||||
<head>
|
||||
<title></title>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<style type="text/css">
|
||||
|
||||
@font-face {
|
||||
font-family: "MarkAB-spaceliga";
|
||||
src: url(../fonts/markAB-spaceliga.otf);
|
||||
}
|
||||
|
||||
body { font-family: MarkAB-spaceliga; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
B A;
|
||||
</body>
|
||||
</html>
|
|
@ -15,6 +15,7 @@ random-if(!cocoaWidget) == font-size-adjust-02.html font-size-adjust-02-ref.html
|
|||
== justification-2b.html justification-2-ref.html
|
||||
== justification-2c.html justification-2-ref.html
|
||||
!= justification-2d.html justification-2-ref.html
|
||||
load ligature-with-space-1.html
|
||||
== line-editing-1a.html line-editing-1-ref.html
|
||||
== line-editing-1b.html line-editing-1-ref.html
|
||||
== line-editing-1c.html line-editing-1-ref.html
|
||||
|
|
Загрузка…
Ссылка в новой задаче