Mercurial > emacs
annotate lisp/url/url-ftp.el @ 92409:8171649adf8a
(Quniscribe, QCformat): New symbols.
(syms_of_w32font): Define them.
(w32font_has_char): Indicate uncertainty.
(w32font_encode_char): Encode as glyph point. Make static.
(recompute_cached_metrics): New function.
(w32font_open_internal): Use it. Set font to use glyph points
initially. Set format based on type of font.
(w32font_text_extents, w32font_draw): Optionally use glyph points.
(w32_enumfont_pattern_entity): Accept backend arg. Set type based
on it. Set format based on information available here.
(add_font_entity_to_list): Identify backend based on opentype_only.
author | Jason Rumney <jasonr@gnu.org> |
---|---|
date | Mon, 03 Mar 2008 00:31:18 +0000 |
parents | 9c0b3f269b92 |
children | 1e3a407766b9 |
rev | line source |
---|---|
54695 | 1 ;;; url-ftp.el --- FTP wrapper |
57612 | 2 |
64748
875dcc490074
Update years in copyright notice; nfc.
Thien-Thi Nguyen <ttn@gnuvola.org>
parents:
64084
diff
changeset
|
3 ;; Copyright (C) 1996, 1997, 1998, 1999, 2004, |
79720 | 4 ;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
57612 | 5 |
54695 | 6 ;; Keywords: comm, data, processes |
7 | |
57612 | 8 ;; This file is part of GNU Emacs. |
9 | |
10 ;; GNU Emacs is free software; you can redistribute it and/or modify | |
11 ;; it under the terms of the GNU General Public License as published by | |
78222
8932997d0b62
Switch license to GPLv3 or later.
Glenn Morris <rgm@gnu.org>
parents:
75347
diff
changeset
|
12 ;; the Free Software Foundation; either version 3, or (at your option) |
57612 | 13 ;; any later version. |
14 | |
15 ;; GNU Emacs is distributed in the hope that it will be useful, | |
16 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of | |
17 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
18 ;; GNU General Public License for more details. | |
19 | |
20 ;; You should have received a copy of the GNU General Public License | |
21 ;; along with GNU Emacs; see the file COPYING. If not, write to the | |
64084 | 22 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
23 ;; Boston, MA 02110-1301, USA. | |
57612 | 24 |
25 ;;; Commentary: | |
54695 | 26 |
27 ;; We knew not what we did when we overloaded 'file' to mean 'file' | |
28 ;; and 'ftp' back in the dark ages of the web. | |
29 ;; | |
30 ;; This stub file is just here to please the auto-scheme-loading code | |
31 ;; in url-methods.el and just maps everything onto the code in | |
32 ;; url-file. | |
33 | |
57612 | 34 ;;; Code: |
35 | |
54695 | 36 (require 'url-parse) |
37 (require 'url-file) | |
38 | |
39 (defconst url-ftp-default-port 21 "Default FTP port.") | |
40 (defconst url-ftp-asynchronous-p t "FTP transfers are asynchronous.") | |
41 (defalias 'url-ftp-expand-file-name 'url-default-expander) | |
42 (defalias 'url-ftp 'url-file) | |
43 | |
44 (provide 'url-ftp) | |
54699 | 45 |
46 ;;; arch-tag: 9c3e70c4-350f-4d4a-bb51-a1e9b459e7dc | |
57612 | 47 ;;; url-ftp.el ends here |