Mailinglist Archive: opensuse-features (396 mails)

< Previous Next >
[openFATE 308334] Distribute individual let ters across cell width and height (aka 均等割符)
  • From: fate_noreply@xxxxxxx
  • Date: Tue, 5 Jan 2010 22:59:07 +0000 (GMT)
  • Message-id: <feature-308334-16@xxxxxxxxxxxxxx>
Feature changed by: Kohei Yoshida (kohei_yoshida)
Feature #308334, revision 16
Title: Distribute individual letters across cell width and height (aka 均

Requested by: Kohei Yoshida (kohei_yoshida)

Distribute letters at equal intervals across cell's width such that the
first and last letters are aligned with the left and right edge of the
cell, respectively.  Also support similar distribution mechanism in a
vertical direction.
This functionality is also known as Kin-tou Wari-fu (均等割符) in Japanese,
and is very common operation among Japanese Excel users.

- i#107467 - Excel import issue with cells with distributed content
- i#107470 - Request for this feature in the upstream IZ (url:

Use Case:
Sentences in the Japanese language do not normally break at each word
unlike most Western languages.  The normal justification functionality
is therefore useless for the Japanese users.  Instead, they typically
justify sentences by adjusting spaces between letters, which is what
this requested functionality will provide.

#3: Kohei Yoshida (kohei_yoshida) (2010-01-05 14:22:02)
I've started looking into this.

#4: Kohei Yoshida (kohei_yoshida) (2010-01-05 17:36:46)
Here is the initial hurdle: Calc uses XSL-FO for all text formatting,
and fo:text-align specifies the alignment of a text (I assume for both
horizontal and vertical directions). The bad news is that, this
attribute does not allow a "distributed" alignment, but in order for us
to implement this feature, we need that to allow a distributed

#5: Kohei Yoshida (kohei_yoshida) (2010-01-05 17:45:10) (reply to #4)
Well, I guess I could use the "justify" alignment and additional flag
to specify how the content is justified. The spec allows user-agent-
specific justification algorithm, so it's doable without breaking the

#6: Kohei Yoshida (kohei_yoshida) (2010-01-05 17:49:15) (reply to #5)
And we could perhaps use the 'text-justify' attribute to specify the
justification algorithm. See below:

+ #7: Kohei Yoshida (kohei_yoshida) (2010-01-05 17:59:37) (reply to #6)
+ This one is the latest spec of the fore-cited:

openSUSE Feature:

< Previous Next >
This Thread