On 14/06/2016 14:23, kelvinsthirt...@gmail.com wrote:
> each word has at least
> one (often many) breakpoints, but only one of them gets used per
> line.
Right.
> And the only way to know which one to use is to shape.
Well, no. You shaped already; that was the first thing you did. As Adam
told
No, shaping does tell you about breakpoints in the same way that shaping can
link back to original character indexes for any other purpose.
For example, if the shaped sentence "make a difference!" overflows at the glyph
“ff”, I know to test break points that come before the 11th character in
On 14/06/2016 13:16, Kelvin Ma wrote:
> The problem is, I have no idea where, in terms of x-coordinate, any of
> these breakpoints are going to be until I shape them. So I will have to
> shape the entire sentence.
You do have to shape the entire sentence, yes. But that's got nothing to
do with
On Mon, Jun 13, 2016 at 10:53 PM, Simon Cozens
wrote:
> On 14/06/2016 12:42, Kelvin Ma wrote:
> > What I need is something to bridge that gap between the 1-line of
> > unbroken text that harfbuzz generates, and the fragments I need to be
> > able to assemble a multi-line
On 14/06/2016 01:00, Kelvin Ma wrote:
> So I’ve not received an answer to this anywhere, so, how do I typeset
> paragraphs with Harfbuzz?
http://behdad.github.io/harfbuzz/hello-harfbuzz.html#what-harfbuzz-doesnt-do
Sorry, I need to finish writing the manual; will have more time soon.
Simon
Also this might be jumping the gun a bit since we still don’t even have the
“safe-to-break” thing yet but how do we know when it’s okay to reshape a
broken segment or if it should just be moved to the next line? A ligature
like “ffi” can and should be broken into “f” and “fi” if needed (like
What I need is something to bridge that gap between the 1-line of unbroken
text that harfbuzz generates, and the fragments I need to be able to
assemble a multi-line paragraph.
What Freetype does is give me images of individual letters, which I can
then put together to make words and sentences,
Both XeTeX and Mozilla Firefox have opensource code which uses HarfBuzz for
line setting but combines it with other techniques to perform paragraph-level
line breaking, hyphenation and justification.
In a way, FreeType takes a font, glyph ids and their positions, and delivers an
image.
Like it was answered several times already, Harfbuzz doesn't do any
itemization, including line breaking. Feel free to choose ICU (or whatever
you like more) to do all the hard work for you.
Konstantin
2016-06-13 19:00 GMT+04:00 Kelvin Ma :
> So I’ve not received an
So I’ve not received an answer to this anywhere, so, how do I typeset
paragraphs with Harfbuzz? How do I use the ‘safe-to-break’ iterator?
Because it sounds like right now I’d have to shape the *entire* paragraph
as one line, then find the last shaped glyph that falls before the cutoff
point,
> He needs to be made aware that it's unbuildable with MSVC.
Is it really? Actually Visual Studio 2015 was only compiler I tested the
code against, but maybe older ones are broken. Anyway, the backend
shouldn't be used on any production code (specially as it's performance
issues) even the fact it
On 13/06/2016 13:51, Khaled Hosny wrote:
DirectWrite and Uniscribe backends should be disabled
by default since they are only for testing purposes
[...]
Or may be the issue is that you are using your own build system and just
included all the source files
Hi Khaled,
You're right to an
On Mon, Jun 13, 2016 at 10:34:24AM +0100, John Emmas wrote:
> On 13/06/2016 10:09, Juha Martikainen wrote:
> >
> > I had a second build attempt where I made my own vcxproj file. There I
> > get the following kind of errors:
> >
> > 1>..\..\src\hb-directwrite.cc(246): error C2039: 'directwrite' :
On 13/06/2016 10:09, Juha Martikainen wrote:
I had a second build attempt where I made my own vcxproj file. There I
get the following kind of errors:
1>..\..\src\hb-directwrite.cc(246): error C2039: 'directwrite' : is
not a member of 'hb_shaper_data_t'
1>..\..\src\hb-directwrite.cc(257):
On 13/06/2016 08:36, Juha Martikainen wrote:
nmake /f Makefile.vc CFG=release /P
Resulting:
NMAKE : fatal error U1073: don't know how to make 'config.h.win32'
Stop.
Hi Juha,
In addition to what Cosimo said, it might be worthwhile to remember that
it's not strictly necessary to have
Hello!
I am working with Windows 10 system and Visual Studio 2012 compiler. I
would like to compile harfbuzz library for Scribus. I have taken the new
harfbuzz codes with git.
I have read win32 directory readme file instructions and try to
configure project using nmake. I run the following
16 matches
Mail list logo