Search
Code Directory
 ASP
 ASP.NET
 C/C++
 CFML
 CGI/PERL
 Delphi
 Development
 Flash
 HTML
 Java
 JavaScript
 Pascal
 PHP
 Python
 SQL
 Tools
 Visual Basic & VB.NET
 XML
New Code
Uber for Massage 2.0
Job Board Software 1.1
RentALL - Airbnb Clone | Built with ReactJS 2.6
VB.Net PDF 2020.6.0
Flowrigami 1.0.0
SentiVeillance SDK Trial 7.3.2020.03.02
Entity Developer 6.8
dbExpress driver for SQLite 4.2
dbForge SQL Complete 6.5
Advanced Amazon Clone App 2.0
Appjetty Delivery Date Manager 1.0.0
The C# Barcode Library 2020.5.0
Chowtro - Online Restaurant Food Ordering Software 1.0
Alvas.Audio.Core 2019.0
Sainsburys Script 1.3.2
Top Code
dbForge SQL Complete 4.8
dbExpress Driver for SQLite 3.9
Availability Booking Calendar PHP 1.0
ATN Site Builder 3.0
ATN Resume Finder 2.0
Aglowsoft SQL Query Tools 8.2
Classified Ad Lister 1.0
Solid File System OS edition 5.1
Deals and Discounts Website Script 1.0.2
SentiVeillance SDK Trial 7.3.2020.03.02
PHP Review Script 1.0
ICPennyBid Penny Auction Script 4.0
Invoice Manager by PHPJabbers 3.0
Blobsmenu
PHP Taxi Booking Script 1.0.4
Top Rated
phpEnter 5.1.
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
Availability Booking Calendar PHP 1.0
Word Wrap for Proportional Fonts 
File ID: 64213






Word Wrap for Proportional Fonts 
Download Word Wrap for Proportional Fonts http://code.activestate.com/recipes/577946-word-wrap-for-proportional-fonts/?in=lang-pythonReport Error Link
License: Freeware
Downloads: 51
Submit Rating:
Word Wrap for Proportional Fonts  Description
Description: Word wrap function / algorithm for wrapping text using proportional (versus
fixed-width) fonts.

text: a string of text to wrap
width: the width in pixels to wrap to
extent_func: a function that returns a (w, h) tuple given any string, to
specify the size (text extent) of the string when rendered.
the algorithm only uses the width.

Returns a list of strings, one for each line after wrapping.

License: Freeware

Related: fixed, Font, proportional, Python, Text, Word, word wrap, Wrap

O/S:Windows

Downloads: 51



More Similar Code

There are many cool word-wrap recipes, but most don't support unicode, such as Chinese characters. Note: you should use python2.4 to test the recipe for the 'gbk' encoding.



Setting the minimum word length for MySQL text search is a tutorial helping users to configure Mysql to set minimum word length for text searches on windows and unix systems. The default minimum search word length in Mysql is four. But for Mysql...



This word-wrap function flows paragraphs of text so they fit in a certain column width. It differs from similar methods in that it preserves existing whitespace such as newlines and runs of spaces.



A syntax highlighting Word macro for MATLAB m-files. This program provides syntax highlighting for MATLAB m-file code segments included in a Word document. This macro does not provide highlighting as-you-type, highlighting is performed for the...



Arabic word list for spell checkers (e.g. Aspell).



word processor for novelists



A unicode based word processor for Devnagiri/Hindi/Sanskrit and alike languages



Tekstilo is a word processor for Mac OS X (and eventually GNUStep). It is designed to correspond to the WYSIWYM philosophy (What you see is what you mean).



The project aims to build up a word corpus for Indian languages taking commonly used English terms.



This Autoresponder is Fully automated, will work for 24 Hours a Day 7 Days a Week. This is very fast and delivers 600 mails per minute and do word wrap when it reaches 65 lines. Easily customizable and you can construct a thank you page after your...

User Review for Word Wrap for Proportional Fonts
- required fields
     

Please enter text on the image