<div>Thanks Reinhard,</div><div><br></div>I was writing before the following was clarified by Felix ... "<span style>The line is useful for good overview in the source .tex, not for breaking lines in the resulting document."</span>  <div>
<br></div><div>So a lot of the discussion is redundant. I was writing form the perspective of Felix wanting to know when a line broke in the .dvi or .pdf output (and be warned in the TeXworks editor), as I could not understand why if <div>
  </div><div>   Edit/Preferences/Editor/ Wrap Lines     </div><div><br></div><div>is ticked, </div><div>you would need to know where to manually break lines in the TeXworks editor at all?</div><div><br></div><div>Paul<br>
<br><div class="gmail_quote">On 21 January 2012 12:47, Reinhard Kotucha <span dir="ltr"><<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 2012-01-20 at 12:18:11 +1300, Paul A Norman wrote:<br>
<br>
 > Under Windows there is a standard api (GetTextmetrics<br>
 > GetTextExtent32 etc and newer) for calculating the fonted effect of<br>
 > a portion of plain ASCII<br>
<br>
</div>Doesn't Qt provide a system independent layer of abstraction for these<br>
things?  Isn't there something like the the PostScript operator<br>
stringwidth, which takes font metrics into account?  I would be amazed<br>
if not.<br>
<div class="im"><br>
 > --- however this would not take into account any of the LaTeX<br>
 > packages that you were using or other effects, and would rely on<br>
 > .ttf or .otf (and perhaps .ps) fonts only.<br>
<br></div></blockquote><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I don't see any relationship to LaTeX packages.  Of course, when<br>
talking about line breaking in text editors, it's essential to<br>
distinguish between ordinary text and computer code.  Not everybody is<br>
using LaTeX, but I think that it's sufficient to provide a primitive<br>
which protects a particular line from being broken automatically.  In<br>
order to determine where (at which line number) a verbatim section<br>
begins or ends, it's best to consult a script.  This way it's possible<br>
to support other formats than LaTeX too.  And if LaTeX macro packages<br>
provide verbatim-like environments which do not start with<br>
\begin{verbatim}, it's easy enough to adapt the script by adding a<br>
dedicated regular expression.<br>
<br>
As far as non-(Type1|TTF|OTF) fonts are concerned, the only format<br>
used in the TeX world is what Metafont creates.  However, these bitmap<br>
fonts are usually not accessible by anything else but TeX itself.<br>
IMO it's not worth thinking about them, nowadays nobody wants to use<br>
fonts anymore where glyphs consist of toy building bricks.<br>
Fortunately, almost(?) all these fonts are available as Type1.<br>
<div class="HOEnZb"><div class="h5"><br>
Regards,<br>
  Reinhard<br>
<br>
--<br>
----------------------------------------------------------------------------<br>
Reinhard Kotucha                                      Phone: <a href="tel:%2B49-511-3373112" value="+495113373112">+49-511-3373112</a><br>
Marschnerstr. 25<br>
D-30167 Hannover                              mailto:<a href="mailto:reinhard.kotucha@web.de">reinhard.kotucha@web.de</a><br>
----------------------------------------------------------------------------<br>
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.<br>
----------------------------------------------------------------------------<br>
</div></div></blockquote></div><br></div></div>