Comments (6)
I did a apt-get install libpango1.0-dev and recompiled. Now the unicode quotes are rendered but in a different font :(
from abcm2ps.
%abc-2.1
X:1
T: Test
M: 4/4
L: 1/4
K: C
CC
W:I’ve found
W:I have not found
from abcm2ps.
I've found and I have not found lines are in different fonts when pango is enabled. When it is not enabled, the apostrophe in I've is notdef
from abcm2ps.
1st - With pango, 2nd - without. On the first notice the different fonts being used, on the second the apostrophe is gone (notdef)
from abcm2ps.
In the PS if I replace
/TeXGyreTermes-Regular 16.0 selectfont
with
16.0 F2
It renders correctly - not sure why it's doing the first...
from abcm2ps.
Without pango (--pango 0 in the command line), you just have to define the missing glyphs with %%glyph:
%%glyph 2019 quoteright
Otherwise, in my distro (VoidLinux), they removed PS support in pango, so, I cannot fully test your font problem.
But this can be explained by the fact that, when finding a non ASCII character, pango searches a font in which the character may be rendered. Then, this font is not changed anymore, up to the next line.
In your case, the first searched font would not be the current font, and, so, the font change.
Anyway, unicode rendering with PostScript is a nightmare. That's why I engage people to move to abc2svg.
from abcm2ps.
Related Issues (20)
- null pointer deference in function set_bar_num() in parse.c HOT 1
- Shape notes: Help defining glyphs HOT 6
- Crash in abcm2ps at music.c:2142 HOT 2
- Stack-buffer-overflow in abcm2ps at music:298 HOT 2
- Crash in abcm2ps at buffer.c HOT 2
- How to get in touch regarding a security concern HOT 6
- "Bad length" for legit 7/8 duration HOT 2
- Problem when a long decoration acrosses more than two rows HOT 2
- Staffscale directive is ignored for subsequent tunes when using single file eps output (-E -O) options HOT 1
- Bar line at the end of a stave is being placed outside the generated image boundaries HOT 1
- Minor warning HOT 5
- Pango warning because of depreciation HOT 2
- Memory leaks HOT 1
- ld: error: undefined symbol: 8.14.1 -> 8.14.2 (and later) HOT 2
- Null pointer deference in function set_graceoffs() in music.c HOT 1
- Null pointer dereference in function calculate_beam() in draw.c HOT 1
- Improper null termination in function draw_hl() in draw.c HOT 1
- Null pointer deference in function draw_tuplet() in draw.c HOT 1
- null pointer deference in function gchord_width() in music.c HOT 1
- null pointer deference in go_global_time() in parse.c HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from abcm2ps.