Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
07d7c3bd
Commit
07d7c3bd
authored
May 20, 2010
by
Juanma Barranquero
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* composite.el: Require cl when compiling; fix typos in docstrings.
parent
7bce8510
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
3 deletions
+11
-3
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/composite.el
lisp/composite.el
+5
-3
No files found.
lisp/ChangeLog
View file @
07d7c3bd
2010-05-20 Juanma Barranquero <lekktu@gmail.com>
* composite.el: Require cl when compiling.
(reference-point-alist, compose-gstring-for-graphic)
(compose-gstring-for-terminal): Fix typos in docstrings.
2010-05-19 Juri Linkov <juri@jurta.org>
* emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
...
...
lisp/composite.el
View file @
07d7c3bd
...
...
@@ -28,6 +28,8 @@
;;; Code:
(
eval-when-compile
(
require
'cl
))
(
defconst
reference-point-alist
'
((
tl
.
0
)
(
tc
.
1
)
(
tr
.
2
)
(
Bl
.
3
)
(
Bc
.
4
)
(
Br
.
5
)
...
...
@@ -77,7 +79,7 @@ follows (the point `*' corresponds to both reference points):
+----+-----+ <--- new descent
A composition rule may have the form \(GLOBAL-REF-POINT
NEW-REF-POINT XOFF YOFF), where XOFF and YOFF specif
ies
how much
NEW-REF-POINT XOFF YOFF), where XOFF and YOFF specif
y
how much
to shift NEW-REF-POINT from GLOBAL-REF-POINT. In this case, XOFF
and YOFF are integers in the range -100..100 representing the
shifting percentage against the font size."
)
...
...
@@ -537,7 +539,7 @@ character. If the preceding character is not a base character,
each combining character is composed as a spacing character by
a padding space before and/or after the character.
All non-spacing characters ha
s
this function in
All non-spacing characters ha
ve
this function in
`composition-function-table' unless overwritten."
(
let*
((
header
(
lgstring-header
gstring
))
(
nchars
(
lgstring-char-len
gstring
))
...
...
@@ -669,7 +671,7 @@ All non-spacing characters has this function in
Non-spacing characters are composed with the preceding base
character. If the preceding character is not a base character,
each non-spacing character is composed as a spacing character by
a
prepending a space before it."
prepending a space before it."
(
let*
((
header
(
lgstring-header
gstring
))
(
nchars
(
lgstring-char-len
gstring
))
(
nglyphs
(
lgstring-glyph-len
gstring
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment