[PATCH] Change in core[libreoffice-3-6]: Resolves: fdo#57640 we really want to *titlecase* the initia...

Caolán McNamara (via_Code_Review) gerrit at gerrit.libreoffice.org
Wed Nov 28 15:17:22 PST 2012


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1191

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/91/1191/1

Resolves: fdo#57640 we really want to *titlecase* the initial character

http://srfi.schemers.org/srfi-13/mail-archive/msg00046.html summarizes well..
"
- Titlecase <> uppercase
  Unicode defines three kinds of case mapping: lowercase, uppercase, and
  titlecase. The difference between uppercasing and titlecasing a character
  or character sequence can be seen in compound characters (that is,
  a single character that represents a compount of two characters).

  For example, in Unicode, character U+01F3 is LATIN SMALL LETTER DZ.  (Let us
  write this compound character using ASCII as "dz".) This character
  uppercases to character U+01F1, LATIN CAPITAL LETTER DZ.  (Which is
  basically "DZ".) But it titlecases to to character U+01F2, LATIN CAPITAL
  LETTER D WITH SMALL LETTER Z. (Which we can write "Dz".)

      character	uppercase titlecase
      --------- --------- ---------
      dz	DZ	  Dz
"

See TestCharacterClassification::testTitleCase for titlecase regression
tests.

(cherry picked from commit 150e32777c99a5d67a51726972f46c06dae8a6ac)

Conflicts:
	editeng/source/misc/svxacorr.cxx

Change-Id: I198379832d1910632bb6358149a5276b68d7c6eb
---
M editeng/source/misc/svxacorr.cxx
1 file changed, 2 insertions(+), 2 deletions(-)


--
To view, visit https://gerrit.libreoffice.org/1191
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I198379832d1910632bb6358149a5276b68d7c6eb
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-3-6
Gerrit-Owner: Caolán McNamara <caolanm at redhat.com>



More information about the LibreOffice mailing list