Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement character spacing #301

Merged
merged 10 commits into from
Jan 15, 2017
Merged

Conversation

jvanoostrom
Copy link
Contributor

Hello,

This small piece of code allows you to add character spacing to your text. Simply use the setter:
setCSpacing($pValue);
Where the value is given in pts.

Example:

$oText = $currentSlide->createRichTextShape()
$oTextRun = $oText->createTextRun('Text with character spacing.');
$oTextRun->getFont()->setCSpacing(0.5);

@jvanoostrom
Copy link
Contributor Author

Will this be pushed to dev or master any time soon so I can use it in my projects? :D

@Progi1984 Progi1984 merged commit 0f4f109 into PHPOffice:develop Jan 15, 2017
@Progi1984
Copy link
Member

@jvanoostrom Merged in develop branch.

@Progi1984 Progi1984 self-assigned this Jan 16, 2017
@Progi1984 Progi1984 added this to the 0.8.0 milestone Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants